File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,21 +7,26 @@ permissions:
77jobs :
88 check-sketches-deps :
99 runs-on : ubuntu-latest
10+ env :
11+ ARDUINO_CLI_PATH : ' /home/runner/bin'
12+ ARDUINO_CLI_VERSION : ' latest'
1013 steps :
1114 - name : Checkout repository
1215 uses : actions/checkout@v4
1316
1417 - name : Install the latest version of Arduino CLI
1518 run : |
16- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
19+ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh -s -- -b ${{ env.TASKFILE_PATH }} ${{ env.TASKFILE_VERSION }}
1720
1821 - name : Update Arduino cores and libraries and install Zephyr core
1922 run : |
23+ export PATH="${{ env.TASKFILE_PATH }}:$PATH"
2024 arduino-cli update
2125 arduino-cli core install arduino:zephyr
2226
2327 - name : Verify sketches
2428 run : |
29+ export PATH="${{ env.TASKFILE_PATH }}:$PATH"
2530 SKETCHES=$(find . -name "*.ino")
2631 for SKETCH in $SKETCHES; do
2732 echo "Verifying $SKETCH"
You can’t perform that action at this time.
0 commit comments