Skip to content

Commit 108453e

Browse files
committed
Update compile.yml
1 parent 207bd64 commit 108453e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/compile.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11+
# Set up Arduino CLI
12+
- name: Set up Arduino CLI
13+
uses: arduino/setup-arduino-cli@v1
14+
with:
15+
version: latest
16+
1117
# Ensure that Bash is used for compatibility with the prebuild script
1218
- name: Ensure Bash Shell
1319
run: sudo ln -sf /bin/bash /bin/sh
@@ -16,7 +22,7 @@ jobs:
1622
- name: Checkout
1723
uses: actions/checkout@v3
1824

19-
# Install necessary platforms
25+
# Update the Arduino core index and install required platform
2026
- name: Install Arduino Core
2127
run: |
2228
arduino-cli core update-index

0 commit comments

Comments
 (0)