Skip to content

Commit 4f68f32

Browse files
committed
fix(ci): fix download-artifact step
If you're using the actions/download-artifact action in your workflow, you need to ignore the build record artifacts if name and pattern inputs are not specified (defaults to download all artifacts of the workflow), otherwise the action will fail Ref: actions/toolkit#1874
1 parent 9cd3c3f commit 4f68f32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cargo-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ jobs:
176176
- uses: actions/download-artifact@v4
177177
with:
178178
path: artifacts/
179+
pattern: "!*.dockerbuild"
179180
- name: Set up QEMU
180181
uses: docker/setup-qemu-action@v3
181182

@@ -226,6 +227,7 @@ jobs:
226227
- uses: actions/download-artifact@v4
227228
with:
228229
path: artifacts
230+
pattern: "!*.dockerbuild"
229231

230232
- run: |
231233
cd ./artifacts

0 commit comments

Comments
 (0)