You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/compile.yml
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,8 @@ jobs:
11
11
# Install Arduino CLI manually
12
12
- name: Install Arduino CLI
13
13
run: |
14
-
# Download and extract Arduino CLI
15
14
wget -qO- https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz | tar -xvz
16
-
# Move to a location in PATH
17
15
sudo mv arduino-cli /usr/local/bin/
18
-
# Verify installation
19
16
arduino-cli version || exit 1
20
17
21
18
# Ensure that Bash is used for compatibility with the prebuild script
@@ -26,10 +23,16 @@ jobs:
26
23
- name: Checkout
27
24
uses: actions/checkout@v3
28
25
29
-
#Update the Arduino core index and install required platform
30
-
- name: Install Arduino Core
26
+
#Add custom package index URL and update core index
27
+
- name: Configure Arduino CLI
31
28
run: |
29
+
arduino-cli config init
30
+
arduino-cli config set board_manager.additional_urls https://github.com/SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE/raw/master/package_Dasduino_Boards_index.json
0 commit comments