Skip to content

Commit

Permalink
Patch CI upload and downloa
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Doherty <[email protected]>
  • Loading branch information
chrisdoherty4 committed Jan 15, 2024
1 parent 288dd74 commit cdd4077
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Upload linux/${{ matrix.platform }} binary
uses: actions/upload-artifact@v4
with:
name: hegel
name: hegel-${{ matrix.platform }}
retention-days: 1
path: hegel-linux-${{ matrix.platform }}

Expand Down Expand Up @@ -113,9 +113,10 @@ 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
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 +149,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

platforms: linux/amd64,linux/arm64

Check failure on line 153 in .github/workflows/ci.yaml

View workflow job for this annotation

GitHub Actions / Lint

153:45 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit cdd4077

Please sign in to comment.