Skip to content

Commit 61299ff

Browse files
committed
Make artifacts name unique
1 parent 2f9a680 commit 61299ff

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.github/workflows/compile-examples.yml

+18-10
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,26 @@ jobs:
3838
- libraries/RTC/examples/Test_RTC
3939
- libraries/SoftwareSerial
4040
- libraries/WDT
41+
SKETCHES_REPORTS_PATH: sketches-reports
4142

4243
strategy:
4344
fail-fast: false
4445

4546
matrix:
46-
board: [
47-
{"fqbn": "arduino:renesas_portenta:portenta_c33"},
48-
{"fqbn": "arduino:renesas_uno:minima"},
49-
{"fqbn": "arduino:renesas_uno:unor4wifi"},
50-
{"fqbn": "arduino-git:renesas:portenta_c33"},
51-
{"fqbn": "arduino-git:renesas:minima"},
52-
{"fqbn": "arduino-git:renesas:unor4wifi"},
53-
]
47+
board:
48+
- fqbn: arduino:renesas_portenta:portenta_c33
49+
id: c33
50+
- fqbn: arduino:renesas_uno:minima
51+
id: minima
52+
- fqbn: arduino:renesas_uno:unor4wifi
53+
id: wifi
54+
- fqbn: arduino-git:renesas:portenta_c33
55+
id: git_c33
56+
- fqbn: arduino-git:renesas:minima
57+
id: git_minima
58+
- fqbn: arduino-git:renesas:unor4wifi
59+
id: git_wifi
60+
5461

5562
# make board type-specific customizations to the matrix jobs
5663
include:
@@ -173,9 +180,10 @@ jobs:
173180
enable-deltas-report: 'false'
174181
verbose: 'true'
175182
github-token: ${{ secrets.GITHUB_TOKEN }}
183+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
176184

177185
- name: Save memory usage change report as artifact
178186
uses: actions/upload-artifact@v4
179187
with:
180-
name: sketches-reports
181-
path: sketches-reports
188+
path: ${{ env.SKETCHES_REPORTS_PATH }}
189+
name: ${{ env.SKETCHES_REPORTS_PATH }}-${{ matrix.board.id }}

0 commit comments

Comments
 (0)