Skip to content

Commit 9b29c3a

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 1e75aa2 commit 9b29c3a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,19 @@ jobs:
3434
- fqbn: arduino:avr:uno
3535
platforms: |
3636
- name: arduino:avr
37+
artifact-name-suffix: arduino-avr-uno
3738
- fqbn: arduino:avr:leonardo
3839
platforms: |
3940
- name: arduino:avr
41+
artifact-name-suffix: arduino-avr-leonardo
4042
- fqbn: arduino:megaavr:uno2018
4143
platforms: |
4244
- name: arduino:megaavr
45+
artifact-name-suffix: arduino-megaavr-uno2018
4346
- fqbn: arduino:mbed_giga:giga
4447
platforms: |
4548
- name: arduino:mbed_giga
49+
artifact-name-suffix: arduino-mbed_giga-giga
4650

4751
steps:
4852
- name: Checkout repository
@@ -72,4 +76,4 @@ jobs:
7276
with:
7377
if-no-files-found: error
7478
path: ${{ env.SKETCHES_REPORTS_PATH }}
75-
name: ${{ env.SKETCHES_REPORTS_PATH }}
79+
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)