Skip to content

Commit 27f0435

Browse files
authored
ci: fix artifact handling (#3670)
Signed-off-by: Mike Nguyen <[email protected]>
1 parent dd13e6b commit 27f0435

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/certification.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ jobs:
295295
uses: actions/upload-artifact@v4
296296
if: github.event_name == 'schedule'
297297
with:
298-
name: cert_code_cov
298+
name: ${{ matrix.component }}_cert_code_cov
299299
path: ${{ env.TEST_PATH }}/tmp/cert_code_cov_files
300300
retention-days: 7
301301

@@ -314,7 +314,7 @@ jobs:
314314
uses: actions/upload-artifact@v4
315315
if: always()
316316
with:
317-
name: result_files
317+
name: ${{ matrix.component }}_result_files
318318
path: tmp/result_files
319319
retention-days: 1
320320

@@ -353,7 +353,7 @@ jobs:
353353
continue-on-error: true
354354
id: testresults
355355
with:
356-
name: result_files
356+
# name: not being specified which will result in all artifacts being downloaded
357357
path: tmp/result_files
358358

359359
- name: Build message

.github/workflows/conformance.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ jobs:
332332
uses: actions/upload-artifact@v4
333333
if: always()
334334
with:
335-
name: result_files
335+
name: ${{ matrix.component }}_result_files
336336
path: tmp/result_files
337337
retention-days: 1
338338

@@ -346,14 +346,14 @@ jobs:
346346
uses: actions/upload-artifact@v4
347347
if: github.event_name == 'schedule'
348348
with:
349-
name: conf_code_cov
349+
name: ${{ matrix.component }}_conf_code_cov
350350
path: tmp/conf_code_cov
351351
retention-days: 7
352352

353353
# Upload logs for test analytics to consume
354354
- name: Upload test results
355355
if: always()
356-
uses: actions/upload-artifact@main
356+
uses: actions/upload-artifact@v4
357357
with:
358358
name: ${{ matrix.component }}_conformance_test
359359
path: ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.*
@@ -385,7 +385,7 @@ jobs:
385385
continue-on-error: true
386386
id: testresults
387387
with:
388-
name: result_files
388+
# name: not being specified which will result in all artifacts being downloaded
389389
path: tmp/result_files
390390

391391
- name: Build message

0 commit comments

Comments
 (0)