Skip to content

Commit 22f3d76

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#43)
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 02b9f70 commit 22f3d76

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,39 @@ jobs:
3434
- fqbn: arduino:samd:mkrwifi1010
3535
platforms: |
3636
- name: arduino:samd
37+
artifact-name-suffix: arduino-samd-mkrwifi1010
3738
- fqbn: arduino:samd:mkrgsm1400
3839
platforms: |
3940
- name: arduino:samd
41+
artifact-name-suffix: arduino-samd-mkrgsm1400
4042
- fqbn: arduino:samd:mkrnb1500
4143
platforms: |
4244
- name: arduino:samd
45+
artifact-name-suffix: arduino-samd-mkrnb1500
4346
- fqbn: arduino:samd:mkrvidor4000
4447
platforms: |
4548
- name: arduino:samd
49+
artifact-name-suffix: arduino-samd-mkrvidor4000
4650
- fqbn: arduino:samd:nano_33_iot
4751
platforms: |
4852
- name: arduino:samd
53+
artifact-name-suffix: arduino-samd-nano_33_iot
4954
- fqbn: arduino:mbed_portenta:envie_m7
5055
platforms: |
5156
- name: arduino:mbed_portenta
57+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5258
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
5359
platforms: |
5460
- name: arduino:mbed_portenta
61+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
5562
- fqbn: arduino:mbed_nano:nano33ble
5663
platforms: |
5764
- name: arduino:mbed_nano
65+
artifact-name-suffix: arduino-mbed_nano-nano33ble
5866
- fqbn: arduino:mbed_nano:nanorp2040connect
5967
platforms: |
6068
- name: arduino:mbed_nano
69+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
6170

6271
steps:
6372
- name: Checkout repository
@@ -84,4 +93,4 @@ jobs:
8493
with:
8594
if-no-files-found: error
8695
path: ${{ env.SKETCHES_REPORTS_PATH }}
87-
name: ${{ env.SKETCHES_REPORTS_PATH }}
96+
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)