Skip to content

Commit

Permalink
Bump actions/download-artifact from 3 to 4 in /.github/workflows
Browse files Browse the repository at this point in the history
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

@dezeroku: align with new download-artifact API

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and anatol committed Sep 5, 2024
1 parent 1e231d6 commit 468b0cd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,14 @@ jobs:
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
PLATFORM=${{ matrix.platform }}
# Replace slashes in platform name with dashes
echo "PLATFORM_ARTIFACT=${PLATFORM//\//-}" >> $GITHUB_ENV
- name: Upload digest
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: digests
name: digests-${{ env.PLATFORM_ARTIFACT }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand All @@ -141,9 +144,10 @@ jobs:

steps:
- name: Download digests
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: digests
pattern: digests-*
merge-multiple: true
path: /tmp/digests

- name: Set up Docker Buildx
Expand Down

0 comments on commit 468b0cd

Please sign in to comment.