Skip to content

Commit f97a6a9

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#135)
For more information see https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#size-deltas-report-workflow-triggered-by-schedule-event .
1 parent 450c0b5 commit f97a6a9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,22 @@ jobs:
3535
platforms: |
3636
- name: arduino:samd
3737
updater: true
38+
artifact-name-suffix: arduino-samd-mkrwan1300
3839
- fqbn: arduino:samd:mkrwan1310
3940
platforms: |
4041
- name: arduino:samd
4142
updater: true
43+
artifact-name-suffix: arduino-samd-mkrwan1310
4244
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
4345
platforms: |
4446
- name: arduino:mbed_portenta
4547
updater: false
48+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
4649
- fqbn: arduino:mbed_portenta:envie_m7
4750
platforms: |
4851
- name: arduino:mbed_portenta
4952
updater: true
53+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5054

5155
# make board type-specific customizations to the matrix jobs
5256
include:
@@ -88,4 +92,4 @@ jobs:
8892
with:
8993
if-no-files-found: error
9094
path: ${{ env.SKETCHES_REPORTS_PATH }}
91-
name: ${{ env.SKETCHES_REPORTS_PATH }}
95+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

.github/workflows/report-size-deltas.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
- name: Comment size deltas reports to PRs
2121
uses: arduino/report-size-deltas@v1
2222
with:
23-
# The name of the workflow artifact created by the sketch compilation workflow
24-
sketches-reports-source: sketches-reports
23+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
24+
sketches-reports-source: ^sketches-report-.+

0 commit comments

Comments
 (0)