From 546c46641bd834840d545391f7c3230e8f0a53a0 Mon Sep 17 00:00:00 2001 From: Tom Trafford Date: Fri, 4 Oct 2024 10:31:41 +0100 Subject: [PATCH] Update download/upload artifcat to v4 --- .github/workflows/_build-image.yml | 2 +- .github/workflows/_build.yml | 6 +++--- .github/workflows/_release.yml | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/_build-image.yml b/.github/workflows/_build-image.yml index f02a3a71..c371238f 100644 --- a/.github/workflows/_build-image.yml +++ b/.github/workflows/_build-image.yml @@ -62,7 +62,7 @@ jobs: # Upload container as an artifact - name: Upload contianer as an artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pandablocks-dev-container path: . diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml index 09402856..589d1de2 100644 --- a/.github/workflows/_build.yml +++ b/.github/workflows/_build.yml @@ -14,7 +14,7 @@ jobs: steps: # Download artifact of image - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: pandablocks-dev-container path: . @@ -40,7 +40,7 @@ jobs: # Upload zips as artifact - name: Upload deps and boot build files - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: zips + name: zips-${{ matrix.platform }} path: ./build/PandA-rootfs-${{ matrix.platform }}/*.zip diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index b47fa27b..b9a728f9 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -7,10 +7,11 @@ jobs: # Make a release on every tag if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: - name: zips + pattern: zips-* path: zips + merge-multiple: true - name: Github Release # We pin to the SHA, not the tag, for security reasons.