Skip to content

Commit

Permalink
Update upload-artifact and download-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtrafford committed Oct 1, 2024
1 parent 0c40b2a commit 2b18b11
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,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: .
Expand All @@ -88,7 +88,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 @@ -114,9 +114,9 @@ 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: zip-${{ matrix.platform }}
path: ./build/PandA-rootfs-${{ matrix.platform }}/*.zip

release:
Expand All @@ -125,10 +125,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: zip-*
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 2b18b11

Please sign in to comment.