Skip to content

Commit 579cc07

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#275)
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 c181aeb commit 579cc07

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,25 @@ jobs:
3636
matrix:
3737
board:
3838
- fqbn: arduino:samd:mkrwifi1010
39+
platforms: |
40+
- name: arduino:samd
41+
artifact-name-suffix: arduino-samd-mkrwifi1010
3942
- fqbn: arduino:samd:mkrvidor4000
43+
platforms: |
44+
- name: arduino:samd
45+
artifact-name-suffix: arduino-samd-mkrvidor4000
4046
- fqbn: arduino:samd:nano_33_iot
47+
platforms: |
48+
- name: arduino:samd
49+
artifact-name-suffix: arduino-samd-nano_33_iot
4150
- fqbn: arduino:megaavr:uno2018:mode=on
51+
platforms: |
52+
- name: arduino:megaavr
53+
artifact-name-suffix: arduino-megaavr-uno2018
4254
- fqbn: arduino:mbed_nano:nanorp2040connect
55+
platforms: |
56+
- name: arduino:mbed_nano
57+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
4358

4459
steps:
4560
- name: Checkout
@@ -64,5 +79,5 @@ jobs:
6479
uses: actions/upload-artifact@v4
6580
with:
6681
if-no-files-found: error
67-
name: ${{ env.SKETCHES_REPORTS_PATH }}
6882
path: ${{ env.SKETCHES_REPORTS_PATH }}
83+
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 "Compile Examples" 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)