@@ -46,12 +46,15 @@ jobs:
46
46
- fqbn : arduino:mbed_portenta:envie_m7
47
47
platforms : |
48
48
- name: arduino:mbed_portenta
49
+ artifact-name-suffix : arduino-mbed_portenta-envie_m7
49
50
- fqbn : arduino:renesas_portenta:portenta_c33
50
51
platforms : |
51
52
- name: arduino:renesas_portenta
53
+ artifact-name-suffix : arduino-renesas_portenta-portenta_c33
52
54
- fqbn : arduino:mbed_opta:opta
53
55
platforms : |
54
56
- name: arduino:mbed_opta
57
+ artifact-name-suffix : arduino-mbed_opta-opta
55
58
56
59
steps :
57
60
- name : Checkout repository
81
84
uses : actions/upload-artifact@v3
82
85
with :
83
86
if-no-files-found : error
87
+ name : sketches-report-${{ matrix.board.artifact-name-suffix }}
84
88
path : ${{ env.SKETCHES_REPORTS_PATH }}
85
- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
86
-
87
- report-size-deltas :
88
- needs : build
89
- # Run even if some compilations failed.
90
- if : always() && github.event_name == 'pull_request'
91
- runs-on : ubuntu-latest
92
- permissions :
93
- pull-requests : write
94
-
95
- steps :
96
- - name : Download sketches reports artifact
97
- id : download-artifact
98
- continue-on-error : true # If compilation failed for all boards then there are no artifacts
99
- uses : actions/download-artifact@v4
100
- with :
101
- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
102
- path : ${{ env.SKETCHES_REPORTS_PATH }}
103
-
104
- - name : Comment size deltas report to PR
105
- uses : arduino/report-size-deltas@v1
106
- # If actions/download-artifact failed, there are no artifacts to report from.
107
- if : steps.download-artifact.outcome == 'success'
108
- with :
109
- sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments