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

Bump actions/upload-artifact from 3 to 4 #322

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
run: make build GOARCH=${{ matrix.platform }}

- name: Upload linux/${{ matrix.platform }} binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hegel
name: ${{ matrix.platform }}
retention-days: 1
path: hegel-linux-${{ matrix.platform }}

Expand Down Expand Up @@ -113,9 +113,9 @@ jobs:
# whatever name they were uploaded with. Its required because the Dockerfile expects
# the filenames to be formatted appropriately for the platform.
- name: Download all binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: hegel
merge-multiple: true

# The upload/download actions do not preserve permissions so they need explicitly setting.
- name: Fix binary permissions
Expand Down Expand Up @@ -148,4 +148,5 @@ jobs:
cache-from: type=registry,ref=${{ env.IMAGE }}:latest
push: ${{ startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/heads/v') }}
tags: ${{ steps.meta.outputs.tags }}

platforms: linux/amd64,linux/arm64