Skip to content

Commit f22bbe6

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

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/compile-examples.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,37 +36,47 @@ jobs:
3636
- fqbn: arduino:samd:arduino_zero_edbg
3737
platforms: |
3838
- name: arduino:samd
39+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
3940
- fqbn: arduino:samd:mkrzero
4041
platforms: |
4142
- name: arduino:samd
43+
artifact-name-suffix: arduino-samd-mkrzero
4244
- fqbn: arduino:samd:mkr1000
4345
platforms: |
4446
- name: arduino:samd
47+
artifact-name-suffix: arduino-samd-mkr1000
4548
- fqbn: arduino:samd:mkrwifi1010
4649
platforms: |
4750
- name: arduino:samd
51+
artifact-name-suffix: arduino-samd-mkrwifi1010
4852
- fqbn: arduino:samd:mkrfox1200
4953
platforms: |
5054
- name: arduino:samd
55+
artifact-name-suffix: arduino-samd-mkrfox1200
5156
- fqbn: arduino:samd:mkrwan1300
5257
platforms: |
5358
- name: arduino:samd
59+
artifact-name-suffix: arduino-samd-mkrwan1300
5460
- fqbn: arduino:samd:mkrwan1310
5561
platforms: |
5662
- name: arduino:samd
63+
artifact-name-suffix: arduino-samd-mkrwan1310
5764
- fqbn: arduino:samd:mkrgsm1400
5865
platforms: |
5966
- name: arduino:samd
67+
artifact-name-suffix: arduino-samd-mkrgsm1400
6068
- fqbn: arduino:samd:mkrnb1500
6169
platforms: |
6270
- name: arduino:samd
71+
artifact-name-suffix: arduino-samd-mkrnb1500
6372
- fqbn: arduino:samd:mkrvidor4000
6473
platforms: |
6574
- name: arduino:samd
75+
artifact-name-suffix: arduino-samd-mkrvidor4000
6676
- fqbn: arduino:samd:nano_33_iot
6777
platforms: |
6878
- name: arduino:samd
69-
79+
artifact-name-suffix: arduino-samd-nano_33_iot
7080

7181
steps:
7282
- name: Checkout repository
@@ -93,4 +103,4 @@ jobs:
93103
with:
94104
if-no-files-found: error
95105
path: ${{ env.SKETCHES_REPORTS_PATH }}
96-
name: ${{ env.SKETCHES_REPORTS_PATH }}
106+
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)