mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
create zip files
This commit is contained in:
parent
60ae7177b8
commit
8c45e6c45c
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
@ -65,8 +73,7 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
updateOnlyUnreleased: true
|
updateOnlyUnreleased: true
|
||||||
artifacts: ./artifacts/*
|
artifacts: ./artifacts/*
|
||||||
|
|
||||||
|
|
||||||
publish-release:
|
publish-release:
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue