Skip to content

Commit 80efd20

Browse files
committed
Fix for v4 of the upload and download artifacts actiosn
These actions require artifact names to be unique across runs. We achieve this by uploading unique names, then downloading all of them. Signed-off-by: Nic Cope <nicc@rk0n.org>
1 parent d551eee commit 80efd20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: Upload Single-Platform Package
119119
uses: actions/upload-artifact@v4
120120
with:
121-
name: packages
121+
name: package-${{ matrix.arch }}
122122
path: "*.xpkg"
123123
if-no-files-found: error
124124
retention-days: 1
@@ -137,8 +137,8 @@ jobs:
137137
- name: Download Single-Platform Packages
138138
uses: actions/download-artifact@v4
139139
with:
140-
name: packages
141140
path: .
141+
merge-multiple: true
142142

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

0 commit comments

Comments
 (0)