Skip to content

Commit

Permalink
Update download/upload artifcat to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtrafford committed Oct 4, 2024
1 parent eebfb13 commit 546c466
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
6 changes: 3 additions & 3 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand All @@ -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
5 changes: 3 additions & 2 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 546c466

Please sign in to comment.