Skip to content

Commit 57ffacc

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#107)
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 2cdd225 commit 57ffacc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/compile-examples.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
# See: https://github.com/arduino/compile-sketches#platforms
3737
platforms: |
3838
- name: arduino:mbed_nano
39+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
3940

4041
steps:
4142
- name: Checkout repository
@@ -62,4 +63,4 @@ jobs:
6263
with:
6364
if-no-files-found: error
6465
path: ${{ env.SKETCHES_REPORTS_PATH }}
65-
name: ${{ env.SKETCHES_REPORTS_PATH }}
66+
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)