Skip to content

Commit 01261a9

Browse files
authored
Fix regression report-size-deltas after updating upload-artifact. (#202)
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 9b4cee4 commit 01261a9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: .github/workflows/compile-examples.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
platforms: |
4242
- name: esp8266:esp8266
4343
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
44+
artifact-name-suffix: esp8266-esp8266-huzzah
4445

4546
steps:
4647
- name: Checkout repository
@@ -67,4 +68,4 @@ jobs:
6768
with:
6869
if-no-files-found: error
6970
path: ${{ env.SKETCHES_REPORTS_PATH }}
70-
name: ${{ env.SKETCHES_REPORTS_PATH }}
71+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

Diff for: .github/workflows/report-size-deltas.yml

+2-2
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)