Skip to content

Commit 2d13777

Browse files
Need to explicitly disable artifact download:
On main, in the ensemble the artifact download will fail if run on main. This is because we don't export the images and upload them as artifacts on main. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent 762391a commit 2d13777

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-all-matrix.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,13 @@ jobs:
201201

202202
- name: Download Linuxkit artifacts
203203
uses: actions/download-artifact@v5
204+
if: ${{ github.event_name == 'pull_request' }}
204205
with:
205206
name: linuxkit-images-${{ matrix.docker_arch }}
206207
path: ${{ runner.temp }}
207208

208209
- name: Load Linuxkit Docker images into local Docker daemon
210+
if: ${{ github.event_name == 'pull_request' }}
209211
run: |
210212
ls "${{ runner.temp }}"
211213
imgs=$(ls "${{ runner.temp }}" | grep tar.gz | xargs)
@@ -219,11 +221,13 @@ jobs:
219221
220222
- name: Download Kernel artifacts
221223
uses: actions/download-artifact@v5
224+
if: ${{ github.event_name == 'pull_request' }}
222225
with:
223226
name: kernel-images-${{ matrix.kernel }}
224227
path: ${{ runner.temp }}
225228

226229
- name: Load Kernel Docker images into local Docker daemon
230+
if: ${{ github.event_name == 'pull_request' }}
227231
run: |
228232
ls "${{ runner.temp }}"
229233
imgs=$(ls "${{ runner.temp }}" | grep tar.gz | xargs)

0 commit comments

Comments
 (0)