texlive[69427] Build/source/.github/workflows/main.yml: [gh action]

commits+preining at tug.org commits+preining at tug.org
Mon Jan 15 06:12:47 CET 2024


Revision: 69427
          https://tug.org/svn/texlive?view=revision&revision=69427
Author:   preining
Date:     2024-01-15 06:12:47 +0100 (Mon, 15 Jan 2024)
Log Message:
-----------
[gh action] Fix missing compiler, keep build as artifact

Modified Paths:
--------------
    trunk/Build/source/.github/workflows/main.yml

Modified: trunk/Build/source/.github/workflows/main.yml
===================================================================
--- trunk/Build/source/.github/workflows/main.yml	2024-01-15 04:51:52 UTC (rev 69426)
+++ trunk/Build/source/.github/workflows/main.yml	2024-01-15 05:12:47 UTC (rev 69427)
@@ -112,7 +112,7 @@
           shell: /bin/bash
           install: |
             case "${{ matrix.distro }}" in
-              debian*)
+              buster)
                 apt-get update -q -y
                 apt-get install -y --no-install-recommends bash gcc g++ make perl libfontconfig-dev libx11-dev libxmu-dev libxaw7-dev build-essential
                 ;;
@@ -147,16 +147,16 @@
             export TL_MAKE_FLAGS
             ./Build -C
             mv inst/bin/* $arch
-            tar czvf /artifacts/texlive-bin-$arch.tar.gz $arch
+            tar czvf /artifacts/texlive-bin-${arch}-linux.tar.gz $arch
       - name: find file step
         run: ls -l ${PWD}/artifacts
       - name: save artifact
         uses: actions/upload-artifact at v4
-        if: startsWith(github.ref, 'refs/tags/')
         with:
-          name: texlive-bin-{{ matrix.arch }}.tar.gz
+          name: texlive-bin-{{ matrix.arch }}-linux.tar.gz
           path: ${PWD}/artifacts/texlive-bin-{{ matrix.arch }}.tar.gz
           compression-level: 0
+          retention-days: 5
       - name: Release
         uses: softprops/action-gh-release at v1
         if: startsWith(github.ref, 'refs/tags/')



More information about the tex-live-commits mailing list.