Skip to content

Commit d74169e

Browse files
authored
Merge pull request #954 from cmaglie/update-actions
Upgrade upload/artifacts and checkout actions to v4
2 parents 702daa0 + 8efdfe0 commit d74169e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

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

+15-4
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,25 @@ jobs:
3434
matrix:
3535
board:
3636
- fqbn: arduino:mbed:nano33ble
37+
id: nano33ble
3738
- fqbn: arduino:mbed:envie_m7
39+
id: envie_m7
40+
- fqbn: arduino:mbed:envie_m7:target_core=cm4
41+
id: envie_m7_core_cm4
3842
- fqbn: arduino:mbed:nanorp2040connect
43+
id: nanorp2040connect
3944
- fqbn: arduino:mbed:nicla_sense
45+
id: nicla_sense
4046
- fqbn: arduino:mbed:nicla_vision
47+
id: nicla_vision
4148
- fqbn: arduino:mbed:opta
49+
id: opta
4250
- fqbn: arduino:mbed:giga
51+
id: giga
4352
- fqbn: arduino:mbed:nicla_voice
53+
id: nicla_voice
4454
- fqbn: arduino:mbed:edge_control
55+
id: edge_control
4556

4657
# compile only the examples compatible with each board
4758
include:
@@ -187,11 +198,11 @@ jobs:
187198
188199
steps:
189200
- name: Checkout repository
190-
uses: actions/checkout@v2
201+
uses: actions/checkout@v4
191202

192203
# The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core
193204
- name: Checkout ArduinoCore-API
194-
uses: actions/checkout@v2
205+
uses: actions/checkout@v4
195206
with:
196207
repository: arduino/ArduinoCore-API
197208
path: ArduinoCore-API
@@ -226,7 +237,7 @@ jobs:
226237

227238
- name: Save memory usage change report as artifact
228239
if: github.event_name == 'pull_request'
229-
uses: actions/upload-artifact@v2
240+
uses: actions/upload-artifact@v4
230241
with:
231242
path: ${{ env.SKETCHES_REPORTS_PATH }}
232-
name: ${{ env.SKETCHES_REPORTS_PATH }}
243+
name: ${{ env.SKETCHES_REPORTS_PATH }}-${{ matrix.board.id }}

0 commit comments

Comments
 (0)