Skip to content

Commit 9856ba1

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#48)
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 94fcc95 commit 9856ba1

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,42 +36,55 @@ jobs:
3636
- fqbn: arduino:avr:nano
3737
platforms: |
3838
- name: arduino:avr
39+
artifact-name-suffix: arduino-avr-nano
3940
- fqbn: arduino:avr:mega
4041
platforms: |
4142
- name: arduino:avr
43+
artifact-name-suffix: arduino-avr-mega
4244
- fqbn: arduino:avr:leonardo
4345
platforms: |
4446
- name: arduino:avr
47+
artifact-name-suffix: arduino-avr-leonardo
4548
- fqbn: arduino:megaavr:uno2018
4649
platforms: |
4750
- name: arduino:megaavr
51+
artifact-name-suffix: arduino-megaavr-uno2018
4852
- fqbn: arduino:megaavr:nona4809
4953
platforms: |
5054
- name: arduino:megaavr
55+
artifact-name-suffix: arduino-megaavr-nona4809
5156
- fqbn: arduino:sam:arduino_due_x_dbg
5257
platforms: |
5358
- name: arduino:sam
59+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
5460
- fqbn: arduino:samd:arduino_zero_edbg
5561
platforms: |
5662
- name: arduino:samd
63+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
5764
- fqbn: arduino:samd:mkrzero
5865
platforms: |
5966
- name: arduino:samd
67+
artifact-name-suffix: arduino-samd-mkrzero
6068
- fqbn: arduino:samd:nano_33_iot
6169
platforms: |
6270
- name: arduino:samd
71+
artifact-name-suffix: arduino-samd-nano_33_iot
6372
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
6473
platforms: |
6574
- name: arduino:mbed_portenta
75+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
6676
- fqbn: arduino:mbed_portenta:envie_m7
6777
platforms: |
6878
- name: arduino:mbed_portenta
79+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
6980
- fqbn: arduino:mbed_nano:nano33ble
7081
platforms: |
7182
- name: arduino:mbed_nano
83+
artifact-name-suffix: arduino-mbed_nano-nano33ble
7284
- fqbn: arduino:mbed_nano:nanorp2040connect
7385
platforms: |
7486
- name: arduino:mbed_nano
87+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
7588

7689
steps:
7790
- name: Checkout repository
@@ -98,4 +111,4 @@ jobs:
98111
with:
99112
if-no-files-found: error
100113
path: ${{ env.SKETCHES_REPORTS_PATH }}
101-
name: ${{ env.SKETCHES_REPORTS_PATH }}
114+
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)