Skip to content

Commit

Permalink
[GHA] build-asy: don't targz on release and ci
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@70285 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
norbusan committed Mar 1, 2024
1 parent b7d8c19 commit f8ceb92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/build-asy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

8 changes: 4 additions & 4 deletions .github/workflows/build-asy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }}

0 comments on commit f8ceb92

Please sign in to comment.