Skip to content

Commit f3c59da

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#39)
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 1213907 commit f3c59da

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,23 @@ jobs:
3737
- fqbn: arduino:avr:leonardo
3838
platforms: |
3939
- name: arduino:avr
40+
artifact-name-suffix: arduino-avr-leonardo
4041
- fqbn: arduino:sam:arduino_due_x_dbg
4142
platforms: |
4243
- name: arduino:sam
44+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
4345
- fqbn: arduino:samd:arduino_zero_edbg
4446
platforms: |
4547
- name: arduino:samd
48+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
4649
- fqbn: arduino:samd:mkrzero
4750
platforms: |
4851
- name: arduino:samd
52+
artifact-name-suffix: arduino-samd-mkrzero
4953
- fqbn: arduino:samd:nano_33_iot
5054
platforms: |
5155
- name: arduino:samd
56+
artifact-name-suffix: arduino-samd-nano_33_iot
5257

5358
steps:
5459
- name: Checkout repository
@@ -81,4 +86,4 @@ jobs:
8186
with:
8287
if-no-files-found: error
8388
path: ${{ env.SKETCHES_REPORTS_PATH }}
84-
name: ${{ env.SKETCHES_REPORTS_PATH }}
89+
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)