23
23
24
24
env :
25
25
SKETCHES_REPORTS_PATH : sketches-reports
26
- SKETCHES_REPORTS_ARTIFACT_NAME : sketches-reports
27
26
28
27
jobs :
29
28
build :
@@ -39,14 +38,23 @@ jobs:
39
38
matrix :
40
39
board :
41
40
- fqbn : arduino:mbed_portenta:envie_m7
41
+ artifact-name-suffix : arduino-mbed_portenta-envie_m7
42
42
- fqbn : arduino:mbed_nano:nanorp2040connect
43
+ artifact-name-suffix : arduino-mbed__nano-nanorp2040connect
43
44
- fqbn : arduino:mbed_nicla:nicla_vision
45
+ artifact-name-suffix : arduino-mbed_nicla-nicla_vision
44
46
- fqbn : arduino:mbed_nicla:nicla_sense
47
+ artifact-name-suffix : arduino-mbed_nicla-nicla_sense
45
48
- fqbn : arduino:mbed_nano:nano33ble
49
+ artifact-name-suffix : arduino-mbed_nano-nano33ble
46
50
- fqbn : arduino:renesas_portenta:portenta_c33
51
+ artifact-name-suffix : arduino-renesas_portenta-portenta_c33
47
52
- fqbn : arduino:renesas_uno:unor4wifi
53
+ artifact-name-suffix : arduino-renesas_uno-unor4wifi
48
54
- fqbn : arduino:samd:mkrwifi1010
55
+ artifact-name-suffix : arduino-samd-mkrwifi1010
49
56
- fqbn : arduino:esp32:nano_nora
57
+ artifact-name-suffix : arduino-esp32-nano_nora
50
58
51
59
steps :
52
60
- name : Checkout repository
66
74
with :
67
75
if-no-files-found : error
68
76
path : ${{ env.SKETCHES_REPORTS_PATH }}
69
- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
77
+ name : sketches-report- ${{ matrix.board.artifact-name-suffix }}
70
78
71
79
report-size-deltas :
72
80
needs : build
@@ -82,12 +90,11 @@ jobs:
82
90
continue-on-error : true # If compilation failed for all boards then there are no artifacts
83
91
uses : actions/download-artifact@v4
84
92
with :
85
- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
86
93
path : ${{ env.SKETCHES_REPORTS_PATH }}
87
94
88
95
- name : Comment size deltas report to PR
89
96
uses : arduino/report-size-deltas@v1
90
97
# If actions/download-artifact failed, there are no artifacts to report from.
91
98
if : steps.download-artifact.outcome == 'success'
92
99
with :
93
- sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
100
+ sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments