Skip to content

Commit 039707e

Browse files
authored
Fix regression re report-size-deltas after updating actions/upload-artifact. (#20)
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 b335590 commit 039707e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/compile-examples.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ jobs:
3434

3535
matrix:
3636
board:
37-
# TODO: Add list of boards to compile for here:
3837
- fqbn: arduino:mbed_edge:edge_control
39-
# TODO: Define the board's platform dependencies here.
40-
# See: https://github.com/arduino/compile-sketches#platforms
4138
platforms: |
4239
- name: arduino:mbed_edge
40+
artifact-name-suffix: arduino-mbed_edge-edge_control
4341

4442
steps:
4543
- name: Checkout repository
@@ -72,4 +70,4 @@ jobs:
7270
with:
7371
if-no-files-found: error
7472
path: ${{ env.SKETCHES_REPORTS_PATH }}
75-
name: ${{ env.SKETCHES_REPORTS_PATH }}
73+
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
@@ -21,5 +21,5 @@ jobs:
2121
- name: Comment size deltas reports to PRs
2222
uses: arduino/report-size-deltas@v1
2323
with:
24-
# The name of the workflow artifact created by the sketch compilation workflow
25-
sketches-reports-source: sketches-reports
24+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
25+
sketches-reports-source: ^sketches-report-.+

0 commit comments

Comments
 (0)