From 702cdf1ee6312577e1f095481023418896c3bd2e Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Fri, 19 May 2023 03:16:56 +0200 Subject: [PATCH] should be working now --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ea32cf..d9b1d2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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