Skip to content

Commit 9a57190

Browse files
committed
fix
1 parent 0d24078 commit 9a57190

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,19 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
1313

14-
- name: Set up Arduino CLI
14+
- name: Install the latest version of Arduino CLI
1515
run: |
16-
mkdir -p $HOME/local/bin
17-
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | $HOME/local/bin sh
18-
echo "$HOME/local/bin" >> $GITHUB_PATH
16+
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh
1917
2018
- name: Update Arduino cores and libraries and install Zephyr core
2119
run: |
22-
arduino-cli update
23-
arduino-cli core install arduino:zephyr
20+
./arduino-cli update
21+
./arduino-cli core install arduino:zephyr
2422
2523
- name: Verify sketches
2624
run: |
2725
SKETCHES=$(find . -name "*.ino")
2826
for SKETCH in $SKETCHES; do
2927
echo "Verifying $SKETCH"
30-
arduino-cli compile --fqbn arduino:zephyr:unoq "$SKETCH"
28+
./arduino-cli compile --fqbn arduino:zephyr:unoq "$SKETCH"
3129
done

0 commit comments

Comments
 (0)