Skip to content

Commit 546f60f

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#16)
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 c8b9768 commit 546f60f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ jobs:
3636
- fqbn: arduino:samd:mkrwifi1010
3737
platforms: |
3838
- name: arduino:samd
39+
artifact-name-suffix: arduino-samd-mkrwifi1010
3940
- fqbn: arduino:samd:nano_33_iot
4041
platforms: |
4142
- name: arduino:samd
43+
artifact-name-suffix: arduino-samd-nano_33_iot
4244
- fqbn: arduino:mbed_nano:nanorp2040connect
4345
platforms: |
4446
- name: arduino:mbed_nano
47+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
4548

4649
steps:
4750
- name: Checkout repository
@@ -72,4 +75,4 @@ jobs:
7275
with:
7376
if-no-files-found: error
7477
path: ${{ env.SKETCHES_REPORTS_PATH }}
75-
name: ${{ env.SKETCHES_REPORTS_PATH }}
78+
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)