From 344144b278b4e5056928b3e8ff08ed38e222dadd Mon Sep 17 00:00:00 2001 From: jeanwsr Date: Mon, 31 Oct 2022 18:37:00 +0800 Subject: [PATCH] improve ci --- .github/workflows/build.yml | 4 +++- .github/workflows/release.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75f5402..58174a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,9 +38,11 @@ jobs: bash release.sh latest #cd test #latexmk -xelatex -halt-on-error -shell-escape main + mkdir all + mv release/SzaboSolutions-latest all - name: Upload PDF uses: actions/upload-artifact@v3 with: name: SzaboSolutions-latest path: - ./release/SzaboSolutions-latest/ + ./all/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0406f3..f42341c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: bash release.sh $VERSION #cd test #latexmk -xelatex -halt-on-error -shell-escape main + tar czvf SzaboSolutions-$VERSION.tar.gz release/SzaboSolutions-$VERSION - name: Create release uses: "marvinpinto/action-automatic-releases@latest" @@ -47,4 +48,4 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: true files: | - ./release/SzaboSolutions-$VERSION/ + ./SzaboSolutions-$VERSION.tar.gz