From f8ceb928463a144042485f1d96dc691b62ef38df Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 1 Mar 2024 05:47:59 +0000 Subject: [PATCH] [GHA] build-asy: don't targz on release and ci git-svn-id: svn://tug.org/texlive/trunk/Build/source@70285 c570f23f-e606-0410-a88d-b1316a301751 --- .github/scripts/build-asy.sh | 3 ++- .github/workflows/build-asy.yml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/scripts/build-asy.sh b/.github/scripts/build-asy.sh index e2fad5bf30..3026c1c151 100755 --- a/.github/scripts/build-asy.sh +++ b/.github/scripts/build-asy.sh @@ -51,4 +51,5 @@ sed -i -e 's/^LIBS = /LIBS = -static-libgcc -static-libstdc++ /' Makefile make -j2 strip asy -tar czvf ../../asy-$arch.tar.gz asy +mv asy ../../asy-$arch + diff --git a/.github/workflows/build-asy.yml b/.github/workflows/build-asy.yml index 750fe911cf..6d04e507c1 100644 --- a/.github/workflows/build-asy.yml +++ b/.github/workflows/build-asy.yml @@ -86,18 +86,18 @@ jobs: .github/scripts/build-asy.sh ${{ matrix.tl_name }} ${{ matrix.buildsys }} - name: find file step if: ${{ matrix.ci_build || matrix.release_build }} - run: ls -l $GITHUB_WORKSPACE/repo/asy-${{ matrix.tl_name }}.tar.gz + run: ls -l $GITHUB_WORKSPACE/repo/asy-${{ matrix.tl_name }} - name: save artifact if: ${{ matrix.ci_build || matrix.release_build }} uses: actions/upload-artifact@v4 with: - name: asy-${{ matrix.tl_name }}.tar.gz - path: ${{ github.workspace }}/repo/asy-${{ matrix.tl_name }}.tar.gz + name: asy-${{ matrix.tl_name }} + path: ${{ github.workspace }}/repo/asy-${{ matrix.tl_name }} compression-level: 0 - name: Release uses: AButler/upload-release-assets@v3.0 if: matrix.release_build with: - files: ${{ github.workspace }}/repo/asy-${{ matrix.tl_name }}.tar.gz + files: ${{ github.workspace }}/repo/asy-${{ matrix.tl_name }} repo-token: ${{ secrets.GITHUB_TOKEN }}