Skip to content

Commit

Permalink
Use upload and download-artifact v4
Browse files Browse the repository at this point in the history
This new version requires unique artifact names. We achieve this by
omitting the downloaded artifact name, which causes the action to
download all artifacts from the run.

Signed-off-by: Nic Cope <[email protected]>
  • Loading branch information
negz committed Jan 2, 2024
1 parent a4a4cad commit 7b817aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ jobs:
run: ./crossplane xpkg build --package-file=${{ matrix.arch }}.xpkg --package-root=package/ --embed-runtime-image-tarball=runtime-${{ matrix.arch }}.tar

- name: Upload Single-Platform Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: packages
name: package-${{ matrix.arch }}
path: "*.xpkg"
if-no-files-found: error
retention-days: 1
Expand All @@ -135,10 +135,10 @@ jobs:
uses: actions/checkout@v4

- name: Download Single-Platform Packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: packages
path: .
merge-multiple: true

- name: Setup the Crossplane CLI
run: "curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh"
Expand Down

0 comments on commit 7b817aa

Please sign in to comment.