Skip to content

Commit 97be1b5

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#31)
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 facaf27 commit 97be1b5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,36 @@ jobs:
3737
platforms: |
3838
- name: arduino:avr
3939
yun: false
40+
artifact-name-suffix: arduino-avr-uno
4041
- fqbn: arduino:avr:mega
4142
platforms: |
4243
- name: arduino:avr
4344
yun: false
45+
artifact-name-suffix: arduino-avr-mega
4446
- fqbn: arduino:avr:leonardo
4547
platforms: |
4648
- name: arduino:avr
4749
yun: false
50+
artifact-name-suffix: arduino-avr-leonardo
4851
- fqbn: arduino:avr:yun
4952
platforms: |
5053
- name: arduino:avr
5154
yun: true
55+
artifact-name-suffix: arduino-avr-yun
5256
- fqbn: arduino:megaavr:uno2018
5357
platforms: |
5458
- name: arduino:megaavr
5559
yun: false
60+
artifact-name-suffix: arduino-megaavr-uno2018
5661
- fqbn: arduino:sam:arduino_due_x_dbg
5762
platforms: |
5863
- name: arduino:sam
64+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
5965
- fqbn: arduino:samd:arduino_zero_edbg
6066
platforms: |
6167
- name: arduino:samd
6268
yun: false
69+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
6370

6471
# make board type-specific customizations to the matrix jobs
6572
include:
@@ -97,4 +104,4 @@ jobs:
97104
with:
98105
if-no-files-found: error
99106
path: ${{ env.SKETCHES_REPORTS_PATH }}
100-
name: ${{ env.SKETCHES_REPORTS_PATH }}
107+
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)