Skip to content

Commit 8204f68

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#167)
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 55f62f6 commit 8204f68

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- fqbn: arduino:samd:mkrgsm1400
3535
platforms: |
3636
- name: arduino:samd
37+
artifact-name-suffix: arduino-samd-mkrgsm1400
3738

3839
steps:
3940
- name: Checkout repository
@@ -60,4 +61,4 @@ jobs:
6061
with:
6162
if-no-files-found: error
6263
path: ${{ env.SKETCHES_REPORTS_PATH }}
63-
name: ${{ env.SKETCHES_REPORTS_PATH }}
64+
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)