should be working now

This commit is contained in:
griffi-gh 2023-05-19 03:16:56 +02:00
parent 6795f67481
commit 702cdf1ee6

View file

@ -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