Skip to content
This repository was archived by the owner on May 26, 2024. It is now read-only.

Commit 0f41648

Browse files
committed
Fix regression report-size-deltas after updating upload-artifact.
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 3fe88b7 commit 0f41648

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

.github/workflows/compile-examples.yml

+19-2
Original file line numberDiff line numberDiff line change
@@ -30,55 +30,71 @@ jobs:
3030
- fqbn: arduino:samd:mkr1000
3131
platforms: |
3232
- name: arduino:samd
33+
artifact-name-suffix: arduino-samd-mkr1000
3334
- fqbn: arduino:samd:mkrzero
3435
platforms: |
3536
- name: arduino:samd
37+
artifact-name-suffix: arduino-samd-mkrzero
3638
- fqbn: arduino:samd:mkrwifi1010
3739
platforms: |
3840
- name: arduino:samd
41+
artifact-name-suffix: arduino-samd-mkrwifi1010
3942
- fqbn: arduino:samd:mkrfox1200
4043
platforms: |
4144
- name: arduino:samd
45+
artifact-name-suffix: arduino-samd-mkrfox1200
4246
- fqbn: arduino:samd:mkrwan1300
4347
platforms: |
4448
- name: arduino:samd
49+
artifact-name-suffix: arduino-samd-mkrwan1300
4550
- fqbn: arduino:samd:mkrwan1310
4651
platforms: |
4752
- name: arduino:samd
53+
artifact-name-suffix: arduino-samd-mkrwan1310
4854
- fqbn: arduino:samd:mkrgsm1400
4955
platforms: |
5056
- name: arduino:samd
57+
artifact-name-suffix: arduino-samd-mkrgsm1400
5158
- fqbn: arduino:samd:mkrnb1500
5259
platforms: |
5360
- name: arduino:samd
61+
artifact-name-suffix: arduino-samd-mkrnb1500
5462
- fqbn: arduino:samd:mkrvidor4000
5563
platforms: |
5664
- name: arduino:samd
65+
artifact-name-suffix: arduino-samd-mkrvidor4000
5766
- fqbn: arduino:mbed_portenta:envie_m7
5867
platforms: |
5968
- name: arduino:mbed_portenta
69+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
6070
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
6171
platforms: |
6272
- name: arduino:mbed_portenta
73+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
6374
- fqbn: arduino:mbed_nano:nano33ble
6475
platforms: |
6576
- name: arduino:mbed_nano
77+
artifact-name-suffix: arduino-mbed_nano-nano33ble
6678
- fqbn: arduino:mbed_nano:nanorp2040connect
6779
platforms: |
6880
- name: arduino:mbed_nano
81+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
6982
- fqbn: arduino:mbed_edge:edge_control
7083
platforms: |
7184
- name: arduino:mbed_edge
7285
- fqbn: esp32:esp32:esp32
7386
platforms: |
7487
- name: esp32:esp32
7588
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
89+
artifact-name-suffix: esp32-esp32-esp32
7690
- fqbn: arduino:renesas_portenta:portenta_c33
7791
platforms: |
7892
- name: arduino:renesas_portenta
93+
artifact-name-suffix: arduino-renesas_portenta-portenta_c33
7994
- fqbn: arduino:renesas_uno:minima
8095
platforms: |
8196
- name: arduino:renesas_uno
97+
artifact-name-suffix: arduino-renesas_uno-minima
8298

8399
steps:
84100
- name: Checkout
@@ -89,7 +105,7 @@ jobs:
89105
run: pip3 install pyserial
90106

91107
- name: Compile examples
92-
uses: arduino/compile-sketches@main
108+
uses: arduino/compile-sketches@v1
93109
with:
94110
fqbn: ${{ matrix.board.fqbn }}
95111
platforms: ${{ matrix.board.platforms }}
@@ -102,5 +118,6 @@ jobs:
102118
if: github.event_name == 'pull_request'
103119
uses: actions/upload-artifact@v4
104120
with:
105-
name: ${{ env.SKETCHES_REPORTS_PATH }}
121+
if-no-files-found: error
106122
path: ${{ env.SKETCHES_REPORTS_PATH }}
123+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

.github/workflows/report-size-deltas.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
# See: https://github.com/arduino/actions/blob/master/libraries/report-size-deltas/README.md
1313
- name: Comment size deltas reports to PRs
14-
uses: arduino/report-size-deltas@main
14+
uses: arduino/report-size-deltas@v1
1515
with:
16-
# The name of the workflow artifact created by the "Compile Examples" workflow
17-
sketches-reports-source: sketches-reports
16+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
17+
sketches-reports-source: ^sketches-report-.+

0 commit comments

Comments
 (0)