Skip to content

Commit ce0c675

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

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
@@ -44,6 +44,7 @@ jobs:
4444
- examples/OTA_Usage_Portenta
4545
- examples/LZSS
4646
- examples/OTA_Qspi_Flash_download_onthefly
47+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
4748
- fqbn: arduino:mbed_nicla:nicla_vision
4849
platforms: |
4950
- name: arduino:mbed_nicla
@@ -54,6 +55,7 @@ jobs:
5455
- examples/OTA_Usage_Portenta
5556
- examples/LZSS
5657
- examples/OTA_Qspi_Flash_download_onthefly
58+
artifact-name-suffix: arduino-mbed_nicla-nicla_vision
5759
- fqbn: arduino:mbed_opta:opta
5860
platforms: |
5961
- name: arduino:mbed_opta
@@ -65,6 +67,7 @@ jobs:
6567
- examples/OTA_Usage_Portenta
6668
- examples/LZSS
6769
- examples/OTA_Qspi_Flash_download_onthefly
70+
artifact-name-suffix: arduino-mbed_opta-opta
6871
- fqbn: arduino:mbed_giga:giga
6972
platforms: |
7073
- name: arduino:mbed_giga
@@ -75,6 +78,7 @@ jobs:
7578
- examples/OTA_Usage_Portenta
7679
- examples/LZSS
7780
- examples/OTA_Qspi_Flash_download_onthefly
81+
artifact-name-suffix: arduino-mbed_giga-giga
7882

7983
steps:
8084
- name: Checkout
@@ -98,5 +102,6 @@ jobs:
98102
- name: Save memory usage change report as artifact
99103
uses: actions/upload-artifact@v4
100104
with:
101-
name: ${{ env.SKETCHES_REPORTS_PATH }}
105+
if-no-files-found: error
102106
path: ${{ env.SKETCHES_REPORTS_PATH }}
107+
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
@@ -17,5 +17,5 @@ jobs:
1717
- name: Comment size deltas reports to PRs
1818
uses: arduino/report-size-deltas@main
1919
with:
20-
# The name of the workflow artifact created by the "Compile Examples" workflow
21-
sketches-reports-source: sketches-reports
20+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
21+
sketches-reports-source: ^sketches-report-.+

0 commit comments

Comments
 (0)