Skip to content

Commit 8d56db2

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#46)
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 0c9ec22 commit 8d56db2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/compile-examples.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ jobs:
3636
- fqbn: arduino:mbed_portenta:envie_m7
3737
platforms: |
3838
- name: arduino:mbed_portenta
39+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
3940
- fqbn: arduino:mbed_portenta:portenta_x8
4041
platforms: |
4142
- name: arduino:mbed_portenta
43+
artifact-name-suffix: arduino-mbed_portenta-portenta_x8
4244

4345
steps:
4446
- name: Checkout repository
@@ -65,4 +67,4 @@ jobs:
6567
with:
6668
if-no-files-found: error
6769
path: ${{ env.SKETCHES_REPORTS_PATH }}
68-
name: ${{ env.SKETCHES_REPORTS_PATH }}
70+
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)