Skip to content

Commit 1a0f254

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

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/compile-examples.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ jobs:
3434
- fqbn: arduino:megaavr:uno2018
3535
platforms: |
3636
- name: arduino:megaavr
37+
artifact-name-suffix: arduino-megaavr-uno2018
3738
- fqbn: arduino:samd:nano_33_iot
3839
platforms: |
3940
- name: arduino:samd
41+
artifact-name-suffix: arduino-samd-nano_33_iot
4042

4143
steps:
4244
- name: Checkout repository
@@ -63,4 +65,4 @@ jobs:
6365
with:
6466
if-no-files-found: error
6567
path: ${{ env.SKETCHES_REPORTS_PATH }}
66-
name: ${{ env.SKETCHES_REPORTS_PATH }}
68+
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)