Skip to content

Commit 6fe3cae

Browse files
committed
Use modern version of arduino/compile-sketches action
The action has been moved to a dedicated repository and the previous repository is no longer being maintained.
1 parent b370eef commit 6fe3cae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
LIBRARIES: Arduino_DebugUtils WiFi101 WiFiNINA MKRGSM MKRNB MKRWAN
2121
ARDUINOCORE_MBED_STAGING_PATH: extras/ArduinoCore-mbed
2222
ARDUINOCORE_API_STAGING_PATH: extras/ArduinoCore-API
23+
SKETCHES_REPORTS_PATH: sketches-reports
2324
strategy:
2425
matrix:
2526
board:
@@ -96,17 +97,18 @@ jobs:
9697
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
9798
9899
- name: Compile examples
99-
uses: arduino/actions/libraries/compile-examples@master
100+
uses: arduino/compile-sketches@main
100101
with:
101102
platforms: ${{ matrix.platforms }}
102103
fqbn: ${{ matrix.board.fqbn }}
103104
libraries: ${{ env.LIBRARIES }}
104105
size-report-sketch: 'ConnectionHandlerDemo'
105106
enable-size-deltas-report: 'true'
107+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
106108

107109
- name: Save memory usage change report as artifact
108110
if: github.event_name == 'pull_request'
109111
uses: actions/upload-artifact@v1
110112
with:
111-
name: 'size-deltas-reports'
112-
path: 'size-deltas-reports'
113+
name: ${{ env.SKETCHES_REPORTS_PATH }}
114+
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)