Skip to content

Commit fe03c01

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

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/compile-examples.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,47 @@ jobs:
3434
- fqbn: arduino:samd:mkrzero
3535
platforms: |
3636
- name: arduino:samd
37+
artifact-name-suffix: arduino-samd-mkrzero
3738
- fqbn: arduino:samd:mkr1000
3839
platforms: |
3940
- name: arduino:samd
41+
artifact-name-suffix: arduino-samd-mkr1000
4042
- fqbn: arduino:samd:mkrwifi1010
4143
platforms: |
4244
- name: arduino:samd
45+
artifact-name-suffix: arduino-samd-mkrwifi1010
4346
- fqbn: arduino:samd:mkrfox1200
4447
platforms: |
4548
- name: arduino:samd
49+
artifact-name-suffix: arduino-samd-mkrfox1200
4650
- fqbn: arduino:samd:mkrwan1300
4751
platforms: |
4852
- name: arduino:samd
53+
artifact-name-suffix: arduino-samd-mkrwan1300
4954
- fqbn: arduino:samd:mkrwan1310
5055
platforms: |
5156
- name: arduino:samd
57+
artifact-name-suffix: arduino-samd-mkrwan1310
5258
- fqbn: arduino:samd:mkrgsm1400
5359
platforms: |
5460
- name: arduino:samd
61+
artifact-name-suffix: arduino-samd-mkrgsm1400
5562
- fqbn: arduino:samd:mkrnb1500
5663
platforms: |
5764
- name: arduino:samd
65+
artifact-name-suffix: arduino-samd-mkrnb1500
5866
- fqbn: arduino:samd:mkrvidor4000
5967
platforms: |
6068
- name: arduino:samd
69+
artifact-name-suffix: arduino-samd-mkrvidor4000
6170
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
6271
platforms: |
6372
- name: arduino:mbed_portenta
73+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_code-cm4
6474
- fqbn: arduino:mbed_portenta:envie_m7
6575
platforms: |
6676
- name: arduino:mbed_portenta
77+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
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

+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)