Skip to content

Commit 665814d

Browse files
committed
Fix regression re report-size-deltas after updating actions/upload-artifact.
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 82ee9f7 commit 665814d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/compile-examples.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,15 @@ jobs:
3434
- fqbn: arduino:avr:uno
3535
platforms: |
3636
- name: arduino:avr
37+
artifact-name-suffix: arduino-avr-uno
3738
- fqbn: arduino:avr:mega
3839
platforms: |
3940
- name: arduino:avr
41+
artifact-name-suffix: arduino-avr-mega
4042
- fqbn: arduino:avr:leonardo
4143
platforms: |
4244
- name: arduino:avr
45+
artifact-name-suffix: arduino-avr-leonardo
4346

4447
steps:
4548
- name: Checkout repository
@@ -64,4 +67,4 @@ jobs:
6467
with:
6568
if-no-files-found: error
6669
path: ${{ env.SKETCHES_REPORTS_PATH }}
67-
name: ${{ env.SKETCHES_REPORTS_PATH }}
70+
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)