From 8c45e6c45c3ea27d1cb53739f74b6fdc627901b4 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 18 May 2023 05:00:05 +0200 Subject: [PATCH] create zip files --- .github/workflows/build.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69f272d..9021272 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,6 +55,14 @@ jobs: - uses: actions/download-artifact@v2 with: path: ./artifacts + - name: Create zip files + run: | + cd ./artifacts; + for folder in */; + do zip -r "${folder%/}.zip" "$folder"; + rm -rf "$folder" + done; + cd ..; - uses: ncipollo/release-action@v1 with: name: nightly @@ -65,8 +73,7 @@ jobs: prerelease: true generateReleaseNotes: true updateOnlyUnreleased: true - artifacts: ./artifacts/* - + artifacts: ./artifacts/* publish-release: needs: build @@ -77,6 +84,14 @@ jobs: - uses: actions/download-artifact@v2 with: path: ./artifacts + - name: Create zip files + run: | + cd ./artifacts; + for folder in */; + do zip -r "${folder%/}.zip" "$folder"; + rm -rf "$folder" + done; + cd ..; - uses: rlespinasse/github-slug-action@v4.4.1 - uses: ncipollo/release-action@v1 with: