Skip to content

Commit 8eff44e

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#23)
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 2f9fceb commit 8eff44e

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
@@ -35,36 +35,47 @@ jobs:
3535
- fqbn: arduino:samd:mkr1000
3636
platforms: |
3737
- name: arduino:samd
38+
artifact-name-suffix: arduino-samd-mkr1000
3839
- fqbn: arduino:samd:mkrzero
3940
platforms: |
4041
- name: arduino:samd
42+
artifact-name-suffix: arduino-samd-mkrzero
4143
- fqbn: arduino:samd:mkrwifi1010
4244
platforms: |
4345
- name: arduino:samd
46+
artifact-name-suffix: arduino-samd-mkrwifi1010
4447
- fqbn: arduino:samd:mkrfox1200
4548
platforms: |
4649
- name: arduino:samd
50+
artifact-name-suffix: arduino-samd-mkrfox1200
4751
- fqbn: arduino:samd:mkrwan1300
4852
platforms: |
4953
- name: arduino:samd
54+
artifact-name-suffix: arduino-samd-mkrwan1300
5055
- fqbn: arduino:samd:mkrwan1310
5156
platforms: |
5257
- name: arduino:samd
58+
artifact-name-suffix: arduino-samd-mkrwan1310
5359
- fqbn: arduino:samd:mkrgsm1400
5460
platforms: |
5561
- name: arduino:samd
62+
artifact-name-suffix: arduino-samd-mkrgsm1400
5663
- fqbn: arduino:samd:mkrnb1500
5764
platforms: |
5865
- name: arduino:samd
66+
artifact-name-suffix: arduino-samd-mkrnb1500
5967
- fqbn: arduino:samd:mkrvidor4000
6068
platforms: |
6169
- name: arduino:samd
70+
artifact-name-suffix: arduino-samd-mkrvidor4000
6271
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
6372
platforms: |
6473
- name: arduino:mbed_portenta
74+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
6575
- fqbn: arduino:mbed_portenta:envie_m7
6676
platforms: |
6777
- name: arduino:mbed_portenta
78+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
6879

6980
steps:
7081
- name: Checkout repository
@@ -91,4 +102,4 @@ jobs:
91102
with:
92103
if-no-files-found: error
93104
path: ${{ env.SKETCHES_REPORTS_PATH }}
94-
name: ${{ env.SKETCHES_REPORTS_PATH }}
105+
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)