Skip to content

Commit fdf140c

Browse files
committed
fix
1 parent 9bf0ee2 commit fdf140c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/check-sketches-deps.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,26 @@ permissions:
77
jobs:
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"

0 commit comments

Comments
 (0)