Skip to content

Commit 88e3be8

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#39)
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 19b4898 commit 88e3be8

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
@@ -37,18 +37,22 @@ jobs:
3737
platforms: |
3838
- name: arduino:mbed_portenta
3939
fw-update: false
40+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
4041
- fqbn: arduino:mbed_portenta:envie_m7
4142
platforms: |
4243
- name: arduino:mbed_portenta
4344
fw-update: true
45+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
4446
- fqbn: arduino:samd:mkrwan1300
4547
platforms: |
4648
- name: arduino:samd
4749
fw-update: true
50+
artifact-name-suffix: arduino-mbed_portenta-wan1300
4851
- fqbn: arduino:samd:mkrwan1310
4952
platforms: |
5053
- name: arduino:samd
5154
fw-update: true
55+
artifact-name-suffix: arduino-mbed_portenta-wan1310
5256

5357
# Make board type-specific customizations to the matrix jobs.
5458
include:
@@ -90,4 +94,4 @@ jobs:
9094
with:
9195
if-no-files-found: error
9296
path: ${{ env.SKETCHES_REPORTS_PATH }}
93-
name: ${{ env.SKETCHES_REPORTS_PATH }}
97+
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)