mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
should be working now
This commit is contained in:
parent
6795f67481
commit
702cdf1ee6
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -52,7 +52,8 @@ jobs:
|
|||
if: (github.event_name == 'push') && (github.ref == 'refs/heads/master')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: ./artifacts
|
||||
- uses: rickstaa/action-create-tag@v1
|
||||
|
@ -62,10 +63,10 @@ jobs:
|
|||
force_push_tag: true
|
||||
- name: Create zip files
|
||||
run: |
|
||||
cd ./artifacts;
|
||||
for folder in */;
|
||||
do zip -r "${folder%/}.zip" "$folder";
|
||||
rm -rf "$folder"
|
||||
cd ./artifacts;
|
||||
for folder in */; do
|
||||
zip -r "${folder%/}.zip" "$folder"*;
|
||||
rm -rf "$folder";
|
||||
done;
|
||||
cd ..;
|
||||
- uses: ncipollo/release-action@v1
|
||||
|
@ -87,7 +88,7 @@ jobs:
|
|||
if: (github.event_name == 'push') && startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: ./artifacts
|
||||
- name: Create zip files
|
||||
|
|
Loading…
Reference in a new issue