From d36877fed5cc633bddc3618130b6b10cc393127b Mon Sep 17 00:00:00 2001 From: Brett McBride Date: Tue, 3 Sep 2024 08:49:03 +1000 Subject: [PATCH] fix artifact download+zip --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4b87a5..a51e58f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -132,18 +132,18 @@ jobs: continue-on-error: false steps: - name: Checkout - uses: actions/checkout@v4 - - name: mkdir - run: mkdir binaries + uses: actions/checkout@v3 - name: download-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - path: ext/binaries + path: ext/artifacts - name: zip - run: find ./binaries/* -maxdepth 1 -type d -exec zip -jr {}.zip {} \; + run: | + cd artifacts + find . -maxdepth 1 -type d -exec zip -jr {}.zip {} \; - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: generate_release_notes: true draft: true - files: "**/binaries/*.zip" + files: "ext/artifacts/*.zip"