create zip files

This commit is contained in:
griffi-gh 2023-05-18 05:00:05 +02:00
parent 60ae7177b8
commit 8c45e6c45c

View file

@ -55,6 +55,14 @@ jobs:
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
path: ./artifacts 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 - uses: ncipollo/release-action@v1
with: with:
name: nightly name: nightly
@ -67,7 +75,6 @@ jobs:
updateOnlyUnreleased: true updateOnlyUnreleased: true
artifacts: ./artifacts/* artifacts: ./artifacts/*
publish-release: publish-release:
needs: build needs: build
permissions: write-all permissions: write-all
@ -77,6 +84,14 @@ jobs:
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
path: ./artifacts 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: rlespinasse/github-slug-action@v4.4.1
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
with: with: