Skip to content

Commit 57e43c6

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-ar… (#60)
…tifact. 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 eee651f commit 57e43c6

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/compile-examples.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -36,48 +36,63 @@ 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:avr:yun
4649
platforms: |
4750
- name: arduino:avr
51+
artifact-name-suffix: arduino-avr-yun
4852
- fqbn: arduino:megaavr:uno2018
4953
platforms: |
5054
- name: arduino:megaavr
55+
artifact-name-suffix: arduino-megaavr-uno2018
5156
- fqbn: arduino:megaavr:nona4809
5257
platforms: |
5358
- name: arduino:megaavr
59+
artifact-name-suffix: arduino-megaavr-nona4809
5460
- fqbn: arduino:sam:arduino_due_x_dbg
5561
platforms: |
5662
- name: arduino:sam
63+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
5764
- fqbn: arduino:samd:arduino_zero_edbg
5865
platforms: |
5966
- name: arduino:samd
67+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
6068
- fqbn: arduino:samd:mkrzero
6169
platforms: |
6270
- name: arduino:samd
71+
artifact-name-suffix: arduino-samd-mkrzero
6372
- fqbn: arduino:samd:nano_33_iot
6473
platforms: |
6574
- name: arduino:samd
75+
artifact-name-suffix: arduino-samd-nano_33_iot
6676
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
6777
platforms: |
6878
- name: arduino:mbed_portenta
79+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
6980
- fqbn: arduino:mbed_portenta:envie_m7
7081
platforms: |
7182
- name: arduino:mbed_portenta
83+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
7284
- fqbn: arduino:mbed_edge:edge_control
7385
platforms: |
7486
- name: arduino:mbed_edge
87+
artifact-name-suffix: arduino-mbed_edge-edge_control
7588
- fqbn: arduino:mbed_nano:nano33ble
7689
platforms: |
7790
- name: arduino:mbed_nano
91+
artifact-name-suffix: arduino-mbed_nano-nano33ble
7892
- fqbn: arduino:mbed_nano:nanorp2040connect
7993
platforms: |
8094
- name: arduino:mbed_nano
95+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
8196

8297
steps:
8398
- name: Checkout repository
@@ -104,4 +119,4 @@ jobs:
104119
with:
105120
if-no-files-found: error
106121
path: ${{ env.SKETCHES_REPORTS_PATH }}
107-
name: ${{ env.SKETCHES_REPORTS_PATH }}
122+
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)