-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade actions/upload-artifact to match actions/download-artifact (#…
…5428) * Upgrade actions/upload-artifact to match actions/download-artifact * Separate digests by platform * Merge artifacts * Fix artifact name
- Loading branch information
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,10 @@ jobs: | |
include: | ||
- os: ubuntu-latest | ||
platform: linux/amd64 | ||
platform_suffix: amd64 | ||
- os: gh-ubuntu-arm64 | ||
platform: linux/arm64 | ||
platform_suffix: arm64 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
|
@@ -79,9 +81,9 @@ jobs: | |
touch "/tmp/digests/${digest#sha256:}" | ||
- name: Upload digest | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.4.0 | ||
with: | ||
name: digest | ||
name: digest-${{ matrix.platform_suffix }} | ||
path: /tmp/digests/* | ||
if-no-files-found: error | ||
retention-days: 1 | ||
|
@@ -93,8 +95,9 @@ jobs: | |
- name: Download digests | ||
uses: actions/[email protected] | ||
with: | ||
name: digest | ||
pattern: digest-* | ||
path: /tmp/digests | ||
merge-multiple: true | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|