should be working now

This commit is contained in:
griffi-gh 2023-05-19 03:16:56 +02:00
parent 6f2f37308e
commit 5dc6687461

View file

@ -52,7 +52,8 @@ jobs:
if: (github.event_name == 'push') && (github.ref == 'refs/heads/master') if: (github.event_name == 'push') && (github.ref == 'refs/heads/master')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/download-artifact@v2 - uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with: with:
path: ./artifacts path: ./artifacts
- uses: rickstaa/action-create-tag@v1 - uses: rickstaa/action-create-tag@v1
@ -62,10 +63,10 @@ jobs:
force_push_tag: true force_push_tag: true
- name: Create zip files - name: Create zip files
run: | run: |
cd ./artifacts; cd ./artifacts;
for folder in */; for folder in */; do
do zip -r "${folder%/}.zip" "$folder"; zip -r "${folder%/}.zip" "$folder"*;
rm -rf "$folder" rm -rf "$folder";
done; done;
cd ..; cd ..;
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
@ -87,7 +88,7 @@ jobs:
if: (github.event_name == 'push') && startsWith(github.ref, 'refs/tags/v') if: (github.event_name == 'push') && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
path: ./artifacts path: ./artifacts
- name: Create zip files - name: Create zip files