mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
create zip files
This commit is contained in:
parent
9a8ff135c7
commit
1856e10247
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
@ -67,7 +75,6 @@ jobs:
|
|||
updateOnlyUnreleased: true
|
||||
artifacts: ./artifacts/*
|
||||
|
||||
|
||||
publish-release:
|
||||
needs: build
|
||||
permissions: write-all
|
||||
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue