Skip to content

Commit 06320ec

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-ar… (#54)
…tifact. 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 fad01ee commit 06320ec

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/compile-examples.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,15 @@ jobs:
3434
- fqbn: arduino:mbed_portenta:envie_m7
3535
platforms: |
3636
- name: arduino:mbed_portenta
37+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
3738
- fqbn: arduino:mbed_giga:giga
3839
platforms: |
3940
- name: arduino:mbed_giga
41+
artifact-name-suffix: arduino-mbed_giga-giga
4042
- fqbn: arduino:mbed_opta:opta
4143
platforms: |
4244
- name: arduino:mbed_opta
45+
artifact-name-suffix: arduino-mbed_opta-opta
4346

4447
steps:
4548
- name: Checkout repository
@@ -67,4 +70,4 @@ jobs:
6770
with:
6871
if-no-files-found: error
6972
path: ${{ env.SKETCHES_REPORTS_PATH }}
70-
name: ${{ env.SKETCHES_REPORTS_PATH }}
73+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

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

+2-2
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)