Skip to content

Commit 9dc8a05

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#270)
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 9f25b03 commit 9dc8a05

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ jobs:
7474
if: github.event_name == 'pull_request'
7575
uses: actions/upload-artifact@v4
7676
with:
77-
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
77+
if-no-files-found: error
7878
path: ${{ env.SKETCHES_REPORTS_PATH }}
79+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

.github/workflows/report-size-deltas.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ jobs:
1010

1111
steps:
1212
# See: https://github.com/arduino/report-size-deltas/README.md
13-
- name: Comment size deltas reports to PRs
14-
uses: arduino/report-size-deltas@main
13+
uses: arduino/report-size-deltas@v1
14+
with:
15+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
16+
sketches-reports-source: ^sketches-report-.+

0 commit comments

Comments
 (0)