Skip to content

Commit 509eacd

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#124)
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 c1e4ccc commit 509eacd

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/compile-examples.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,43 @@ jobs:
3434
- fqbn: arduino:avr:nano
3535
platforms: |
3636
- name: arduino:avr
37+
artifact-name-suffix: arduino-avr-nano
3738
- fqbn: arduino:avr:mega
3839
platforms: |
3940
- name: arduino:avr
41+
artifact-name-suffix: arduino-avr-mega
4042
- fqbn: arduino:avr:leonardo
4143
platforms: |
4244
- name: arduino:avr
45+
artifact-name-suffix: arduino-avr-leonardo
4346
- fqbn: arduino:megaavr:nona4809
4447
platforms: |
4548
- name: arduino:megaavr
49+
artifact-name-suffix: arduino-megaavr-nona4809
4650
- fqbn: arduino:sam:arduino_due_x_dbg
4751
platforms: |
4852
- name: arduino:sam
53+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
4954
- fqbn: arduino:samd:mkrzero
5055
platforms: |
5156
- name: arduino:samd
57+
artifact-name-suffix: arduino-samd-mkrzero
5258
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
5359
platforms: |
5460
- name: arduino:mbed_portenta
61+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
5562
- fqbn: arduino:mbed_portenta:envie_m7
5663
platforms: |
5764
- name: arduino:mbed_portenta
65+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5866
- fqbn: arduino:mbed_nano:nano33ble
5967
platforms: |
6068
- name: arduino:mbed_nano
69+
artifact-name-suffix: arduino-mbed_nano-nano33ble
6170
- fqbn: arduino:mbed_nano:nanorp2040connect
6271
platforms: |
6372
- name: arduino:mbed_nano
73+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
6474

6575
steps:
6676
- name: Checkout repository
@@ -87,4 +97,4 @@ jobs:
8797
with:
8898
if-no-files-found: error
8999
path: ${{ env.SKETCHES_REPORTS_PATH }}
90-
name: ${{ env.SKETCHES_REPORTS_PATH }}
100+
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)