@@ -46,12 +46,15 @@ jobs:
4646 - fqbn : arduino:mbed_portenta:envie_m7
4747 platforms : |
4848 - name: arduino:mbed_portenta
49+ artifact-name-suffix : arduino-mbed_portenta-envie_m7
4950 - fqbn : arduino:renesas_portenta:portenta_c33
5051 platforms : |
5152 - name: arduino:renesas_portenta
53+ artifact-name-suffix : arduino-renesas_portenta-portenta_c33
5254 - fqbn : arduino:mbed_opta:opta
5355 platforms : |
5456 - name: arduino:mbed_opta
57+ artifact-name-suffix : arduino-mbed_opta-opta
5558
5659 steps :
5760 - name : Checkout repository
8184 uses : actions/upload-artifact@v3
8285 with :
8386 if-no-files-found : error
87+ name : sketches-report-${{ matrix.board.artifact-name-suffix }}
8488 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