Skip to content

Commit 2cdec1c

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#102)
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 49fbd39 commit 2cdec1c

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,47 @@ jobs:
3434
- fqbn: arduino:samd:arduino_zero_edbg
3535
platforms: |
3636
- name: arduino:samd
37+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
3738
- fqbn: arduino:samd:mkr1000
3839
platforms: |
3940
- name: arduino:samd
41+
artifact-name-suffix: arduino-samd-mkr1000
4042
- fqbn: arduino:samd:mkrzero
4143
platforms: |
4244
- name: arduino:samd
45+
artifact-name-suffix: arduino-samd-mkrzero
4346
- fqbn: arduino:samd:mkrwifi1010
4447
platforms: |
4548
- name: arduino:samd
49+
artifact-name-suffix: arduino-samd-mkrwifi1010
4650
- fqbn: arduino:samd:mkrfox1200
4751
platforms: |
4852
- name: arduino:samd
53+
artifact-name-suffix: arduino-samd-mkrfox1200
4954
- fqbn: arduino:samd:mkrwan1300
5055
platforms: |
5156
- name: arduino:samd
57+
artifact-name-suffix: arduino-samd-mkrwan1300
5258
- fqbn: arduino:samd:mkrwan1310
5359
platforms: |
5460
- name: arduino:samd
61+
artifact-name-suffix: arduino-samd-mkrwan1310
5562
- fqbn: arduino:samd:mkrgsm1400
5663
platforms: |
5764
- name: arduino:samd
65+
artifact-name-suffix: arduino-samd-mkrgsm1400
5866
- fqbn: arduino:samd:mkrnb1500
5967
platforms: |
6068
- name: arduino:samd
69+
artifact-name-suffix: arduino-samd-mkrnb1500
6170
- fqbn: arduino:samd:mkrvidor4000
6271
platforms: |
6372
- name: arduino:samd
73+
artifact-name-suffix: arduino-samd-mkrvidor4000
6474
- fqbn: arduino:samd:nano_33_iot
6575
platforms: |
6676
- name: arduino:samd
77+
artifact-name-suffix: arduino-samd-nano_33_iot
6778

6879
steps:
6980
- name: Checkout repository
@@ -90,4 +101,4 @@ jobs:
90101
with:
91102
if-no-files-found: error
92103
path: ${{ env.SKETCHES_REPORTS_PATH }}
93-
name: ${{ env.SKETCHES_REPORTS_PATH }}
104+
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)