Skip to content

Commit 0b936ba

Browse files
authored
fix(ci): try to get artifact communication right (#1002)
1 parent e7969e9 commit 0b936ba

File tree

2 files changed

+78
-52
lines changed

2 files changed

+78
-52
lines changed

.github/workflows/deploy.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/upload-artifact@v4
4646
if: (github.event_name == 'push') && (github.ref_name == 'main')
4747
with:
48-
name: reuse-manifest-${{ github.run_id }}
48+
name: reuse-manifest
4949
path: reuse_bom
5050
retention-days: 1
5151
build-udb-api-doc:
@@ -62,7 +62,7 @@ jobs:
6262
uses: actions/upload-artifact@v4
6363
if: (github.event_name == 'push') && (github.ref_name == 'main')
6464
with:
65-
name: udb-api-${{ github.run_id }}
65+
name: udb-api
6666
path: gen/udb_api_doc
6767
include-hidden-files: true
6868
retention-days: 1
@@ -82,7 +82,7 @@ jobs:
8282
uses: actions/upload-artifact@v4
8383
if: (github.event_name == 'push') && (github.ref_name == 'main')
8484
with:
85-
name: resolved-spec-${{ github.run_id }}
85+
name: resolved-spec
8686
path: gen/resolved_spec/_
8787
include-hidden-files: true
8888
retention-days: 1
@@ -100,7 +100,7 @@ jobs:
100100
uses: actions/upload-artifact@v4
101101
if: (github.event_name == 'push') && (github.ref_name == 'main')
102102
with:
103-
name: isa-explorer-csr-${{ github.run_id }}
103+
name: isa-explorer-csr
104104
path: gen/isa_explorer/browser
105105
retention-days: 1
106106
build-isa-explorer-ext:
@@ -117,7 +117,7 @@ jobs:
117117
uses: actions/upload-artifact@v4
118118
if: (github.event_name == 'push') && (github.ref_name == 'main')
119119
with:
120-
name: isa-explorer-ext-${{ github.run_id }}
120+
name: isa-explorer-ext
121121
path: gen/isa_explorer/browser
122122
retention-days: 1
123123
build-isa-explorer-inst:
@@ -134,7 +134,7 @@ jobs:
134134
uses: actions/upload-artifact@v4
135135
if: (github.event_name == 'push') && (github.ref_name == 'main')
136136
with:
137-
name: isa-explorer-inst-${{ github.run_id }}
137+
name: isa-explorer-inst
138138
path: gen/isa_explorer/browser
139139
retention-days: 1
140140
build-isa-explorer-spreadsheet:
@@ -151,7 +151,7 @@ jobs:
151151
uses: actions/upload-artifact@v4
152152
if: (github.event_name == 'push') && (github.ref_name == 'main')
153153
with:
154-
name: isa-explorer-spreadsheet-${{ github.run_id }}
154+
name: isa-explorer-spreadsheet
155155
path: gen/isa_explorer/browser
156156
build-html-isa-manual:
157157
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -170,7 +170,7 @@ jobs:
170170
uses: actions/upload-artifact@v4
171171
if: (github.event_name == 'push') && (github.ref_name == 'main')
172172
with:
173-
name: isa-html-manual-${{ github.run_id }}
173+
name: isa-html-manual
174174
path: gen/manual/isa/top/all/html
175175
build-html-cfg-isa-manual:
176176
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -186,7 +186,7 @@ jobs:
186186
uses: actions/upload-artifact@v4
187187
if: (github.event_name == 'push') && (github.ref_name == 'main')
188188
with:
189-
name: cfg-html-manual-${{ github.run_id }}
189+
name: cfg-html-manual
190190
path: gen/cfg_html_doc/example_rv64_with_overlay/html
191191
build-instruction-appendix:
192192
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -202,7 +202,7 @@ jobs:
202202
uses: actions/upload-artifact@v4
203203
if: (github.event_name == 'push') && (github.ref_name == 'main')
204204
with:
205-
name: inst-appendix-${{ github.run_id }}
205+
name: inst-appendix
206206
path: gen/instructions_appendix/instructions_appendix.pdf
207207
build-rvi20-profile:
208208
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -218,7 +218,7 @@ jobs:
218218
uses: actions/upload-artifact@v4
219219
if: (github.event_name == 'push') && (github.ref_name == 'main')
220220
with:
221-
name: rvi20-${{ github.run_id }}
221+
name: rvi20
222222
path: gen/proc_crd/pdf/RVI20ProfileRelease.pdf
223223
build-rva20-profile:
224224
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -234,7 +234,7 @@ jobs:
234234
uses: actions/upload-artifact@v4
235235
if: (github.event_name == 'push') && (github.ref_name == 'main')
236236
with:
237-
name: rva20-${{ github.run_id }}
237+
name: rva20
238238
path: gen/proc_crd/pdf/RVA20ProfileRelease.pdf
239239
build-rva22-profile:
240240
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -250,7 +250,7 @@ jobs:
250250
uses: actions/upload-artifact@v4
251251
if: (github.event_name == 'push') && (github.ref_name == 'main')
252252
with:
253-
name: rva22-${{ github.run_id }}
253+
name: rva22
254254
path: gen/proc_crd/pdf/RVA22ProfileRelease.pdf
255255
build-rva23-profile:
256256
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -266,7 +266,7 @@ jobs:
266266
uses: actions/upload-artifact@v4
267267
if: (github.event_name == 'push') && (github.ref_name == 'main')
268268
with:
269-
name: rva23-${{ github.run_id }}
269+
name: rva23
270270
path: gen/proc_crd/pdf/RVA23ProfileRelease.pdf
271271
build-rvb23-profile:
272272
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -282,7 +282,7 @@ jobs:
282282
uses: actions/upload-artifact@v4
283283
if: (github.event_name == 'push') && (github.ref_name == 'main')
284284
with:
285-
name: rvb23-${{ github.run_id }}
285+
name: rvb23
286286
path: gen/proc_crd/pdf/RVB23ProfileRelease.pdf
287287
build-ac100-crd:
288288
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -298,7 +298,7 @@ jobs:
298298
uses: actions/upload-artifact@v4
299299
if: (github.event_name == 'push') && (github.ref_name == 'main')
300300
with:
301-
name: ac100-crd-${{ github.run_id }}
301+
name: ac100-crd
302302
path: gen/proc_crd/pdf/AC100-CRD.pdf
303303
build-ac200-crd:
304304
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -314,7 +314,7 @@ jobs:
314314
uses: actions/upload-artifact@v4
315315
if: (github.event_name == 'push') && (github.ref_name == 'main')
316316
with:
317-
name: ac200-crd-${{ github.run_id }}
317+
name: ac200-crd
318318
path: gen/proc_crd/pdf/AC200-CRD.pdf
319319
build-mc100-32-crd:
320320
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -330,7 +330,7 @@ jobs:
330330
uses: actions/upload-artifact@v4
331331
if: (github.event_name == 'push') && (github.ref_name == 'main')
332332
with:
333-
name: mc100-32-crd-${{ github.run_id }}
333+
name: mc100-32-crd
334334
path: gen/proc_crd/pdf/MC100-32-CRD.pdf
335335
build-mc100-64-crd:
336336
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -346,7 +346,7 @@ jobs:
346346
uses: actions/upload-artifact@v4
347347
if: (github.event_name == 'push') && (github.ref_name == 'main')
348348
with:
349-
name: mc100-64-crd-${{ github.run_id }}
349+
name: mc100-64-crd
350350
path: gen/proc_crd/pdf/MC100-64-CRD.pdf
351351
build-mc200-32-crd:
352352
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -362,7 +362,7 @@ jobs:
362362
uses: actions/upload-artifact@v4
363363
if: (github.event_name == 'push') && (github.ref_name == 'main')
364364
with:
365-
name: mc200-32-crd-${{ github.run_id }}
365+
name: mc200-32-crd
366366
path: gen/proc_crd/pdf/MC200-32-CRD.pdf
367367
build-mc200-64-crd:
368368
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -378,7 +378,7 @@ jobs:
378378
uses: actions/upload-artifact@v4
379379
if: (github.event_name == 'push') && (github.ref_name == 'main')
380380
with:
381-
name: mc200-64-crd-${{ github.run_id }}
381+
name: mc200-64-crd
382382
path: gen/proc_crd/pdf/MC200-64-CRD.pdf
383383
build-mc300-32-crd:
384384
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -394,7 +394,7 @@ jobs:
394394
uses: actions/upload-artifact@v4
395395
if: (github.event_name == 'push') && (github.ref_name == 'main')
396396
with:
397-
name: mc300-32-crd-${{ github.run_id }}
397+
name: mc300-32-crd
398398
path: gen/proc_crd/pdf/MC300-32-CRD.pdf
399399
build-mc300-64-crd:
400400
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -410,7 +410,7 @@ jobs:
410410
uses: actions/upload-artifact@v4
411411
if: (github.event_name == 'push') && (github.ref_name == 'main')
412412
with:
413-
name: mc300-64-crd-${{ github.run_id }}
413+
name: mc300-64-crd
414414
path: gen/proc_crd/pdf/MC300-64-CRD.pdf
415415
build-rvi20-32-ctp:
416416
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -426,7 +426,7 @@ jobs:
426426
uses: actions/upload-artifact@v4
427427
if: (github.event_name == 'push') && (github.ref_name == 'main')
428428
with:
429-
name: rvi20-32-ctp-${{ github.run_id }}
429+
name: rvi20-32-ctp
430430
path: gen/proc_ctp/pdf/RVI20-32-CTP.pdf
431431
build-rvi20-64-ctp:
432432
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -442,7 +442,7 @@ jobs:
442442
uses: actions/upload-artifact@v4
443443
if: (github.event_name == 'push') && (github.ref_name == 'main')
444444
with:
445-
name: rvi20-64-ctp-${{ github.run_id }}
445+
name: rvi20-64-ctp
446446
path: gen/proc_ctp/pdf/RVI20-64-CTP.pdf
447447
build-mc100-32-ctp:
448448
if: (github.event_name == 'merge_queue') || (inputs.dry-run == false)
@@ -458,5 +458,5 @@ jobs:
458458
uses: actions/upload-artifact@v4
459459
if: (github.event_name == 'push') && (github.ref_name == 'main')
460460
with:
461-
name: mc100-32-ctp-${{ github.run_id }}
461+
name: mc100-32-ctp
462462
path: gen/proc_ctp/pdf/MC100-32-CTP.pdf

0 commit comments

Comments
 (0)