Skip to content

Commit a8f9181

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#36)
For more information see https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#size-deltas-report-workflow-triggered-by-schedule-event .g
1 parent d9917b8 commit a8f9181

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,23 @@ jobs:
4444
- name: ArduinoBLE
4545
- name: Arduino_CMSIS-DSP
4646
sketch-paths: examples/ScienceKit/Nano33BLESenseFirmware
47+
artifact-name-suffix: arduino-mbed_nano-nano33ble-1
4748
- fqbn: arduino:mbed_nano:nanorp2040connect
4849
platforms: |
4950
- name: arduino:mbed_nano
5051
libraries: |
5152
- name: Arduino_LSM6DSOX
5253
- name: ArduinoBLE
5354
sketch-paths: examples/ScienceKit/RP2040ConnectFirmware
55+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
5456
- fqbn: arduino:samd:mkrwifi1010
5557
platforms: |
5658
- name: arduino:samd
5759
libraries: |
5860
- name: ArduinoBLE
5961
- name: Adafruit LSM9DS1 Library
6062
sketch-paths: examples/ScienceKit/PhysicsLabFirmware
63+
artifact-name-suffix: arduino-samd-mkrwifi1010-1
6164
- fqbn: arduino:mbed_nano:nano33ble
6265
platforms: |
6366
- name: arduino:mbed_nano
@@ -72,6 +75,7 @@ jobs:
7275
- name: ArduinoBLE
7376
- name: Arduino_CMSIS-DSP
7477
sketch-paths: examples/ScienceKitR2/Nano33BLESenseFirmware
78+
artifact-name-suffix: arduino-mbed_nano-nano33ble-2
7579
- fqbn: arduino:samd:mkrwifi1010
7680
platforms: |
7781
- name: arduino:samd
@@ -82,6 +86,7 @@ jobs:
8286
- name: INA2xx
8387
- name: SerialFlash
8488
sketch-paths: examples/ScienceKitR2/PhysicsLabFirmware
89+
artifact-name-suffix: arduino-samd-mkrwifi1010-2
8590

8691
steps:
8792
- name: Checkout repository
@@ -108,4 +113,4 @@ jobs:
108113
with:
109114
if-no-files-found: error
110115
path: ${{ env.SKETCHES_REPORTS_PATH }}
111-
name: ${{ env.SKETCHES_REPORTS_PATH }}
116+
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)