Skip to content

Commit f23f6a6

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#39)
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 4ecd5e1 commit f23f6a6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Diff for: .github/workflows/compile-examples.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,17 @@ jobs:
4646
- examples/Portenta H7 as a WiFi Access Point/SimpleWebServer
4747
- examples/Setting Up Portenta H7 For Arduino/Blink
4848
- examples/Vision Shield to SD Card bmp/visionShieldBitmap
49+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
4950

5051
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
5152
sketch-paths: |
5253
- examples/Dual Core Processing/BlinkGreenLed_M4
54+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
5355

5456
- fqbn: arduino:mbed_edge:edge_control
5557
sketch-paths: |
5658
- examples/Edge Control Getting Started
59+
artifact-name-suffix: arduino-mbed_edge-edge_control
5760

5861
steps:
5962
- name: Checkout
@@ -86,5 +89,5 @@ jobs:
8689
uses: actions/upload-artifact@v4
8790
with:
8891
if-no-files-found: error
89-
name: ${{ env.SKETCHES_REPORTS_PATH }}
92+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
9093
path: ${{ env.SKETCHES_REPORTS_PATH }}

Diff for: .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)