Skip to content

Commit 19edeb1

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#110)
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 4c814fd commit 19edeb1

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
@@ -35,20 +35,24 @@ jobs:
3535
platforms: |
3636
- name: arduino:avr
3737
tone: true
38+
artifact-name-suffix: arduino-avr-leonardo
3839
- fqbn: arduino:sam:arduino_due_x_dbg
3940
platforms: |
4041
- name: arduino:sam
4142
# Bug report: https://github.com/arduino/ArduinoCore-sam/issues/24
4243
# Change the value to true once it is fixed.
4344
tone: false
45+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
4446
- fqbn: arduino:samd:mkrzero
4547
platforms: |
4648
- name: arduino:samd
4749
tone: true
50+
artifact-name-suffix: arduino-samd-mkrzero
4851
- fqbn: arduino:samd:nano_33_iot
4952
platforms: |
5053
- name: arduino:samd
5154
tone: true
55+
artifact-name-suffix: arduino-samd-nano_33_iot
5256

5357
# Make board type-specific customizations to the matrix jobs
5458
include:
@@ -91,4 +95,4 @@ jobs:
9195
with:
9296
if-no-files-found: error
9397
path: ${{ env.SKETCHES_REPORTS_PATH }}
94-
name: ${{ env.SKETCHES_REPORTS_PATH }}
98+
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)