Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upload-artifact to v4 #57

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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@v3
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@v3
- 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@v3
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@v3
- 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
Loading