Skip to content

Commit e4b4613

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

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
- examples/OTA_Arduino_Server
5353
- examples/OTA_GitHub_Server
5454
- examples/LOLIN_32_Blink
55+
artifact-name-suffix: esp32-esp32-esp32
5556
- board:
5657
type: arduino_esp32
5758
platforms: |
@@ -62,6 +63,7 @@ jobs:
6263
- examples/OTA_Arduino_Server
6364
- examples/OTA_GitHub_Server
6465
- examples/NANO_ESP32_Blink
66+
artifact-name-suffix: arduino-esp32-arduino_esp32
6567

6668
steps:
6769
- name: Checkout
@@ -89,6 +91,6 @@ jobs:
8991
- name: Save memory usage change report as artifact
9092
uses: actions/upload-artifact@v4
9193
with:
92-
name: ${{ env.SKETCHES_REPORTS_PATH }}
94+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
9395
if-no-files-found: error
9496
path: ${{ env.SKETCHES_REPORTS_PATH }}

.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 "Compile Examples" 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)