Skip to content

Commit 8a19794

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#27)
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 3cb7020 commit 8a19794

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/compile-examples.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,23 @@ jobs:
4444
platforms: |
4545
- name: arduino:mbed_nicla
4646
sketch-paths:
47+
artifact-name-suffix: arduino-mbed_nicla-nicla_vision
4748
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
4849
platforms: |
4950
- name: arduino:mbed_portenta
5051
sketch-paths:
52+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
5153
- fqbn: arduino:mbed_portenta:envie_m7
5254
platforms: |
5355
- name: arduino:mbed_portenta
5456
sketch-paths:
57+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5558
- fqbn: arduino:renesas_portenta:portenta_c33
5659
platforms: |
5760
- name: arduino:renesas_portenta
5861
sketch-paths: |
5962
- examples/C33-Low-Power
63+
artifact-name-suffix: arduino-renesas_portenta-portenta_c33
6064

6165
steps:
6266
- name: Checkout repository
@@ -84,4 +88,4 @@ jobs:
8488
with:
8589
if-no-files-found: error
8690
path: ${{ env.SKETCHES_REPORTS_PATH }}
87-
name: ${{ env.SKETCHES_REPORTS_PATH }}
91+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
- name: Comment size deltas reports to PRs
2424
uses: arduino/report-size-deltas@v1
2525
with:
26-
# The name of the workflow artifact created by the sketch compilation workflow
27-
sketches-reports-source: sketches-reports
26+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
27+
sketches-reports-source: ^sketches-report-.+

0 commit comments

Comments
 (0)