Skip to content

Commit 241c73a

Browse files
committed
use ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS env for setting board URLs
1 parent 437c025 commit 241c73a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

travis/common.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ function get_sketches_json_matrix()
105105
}
106106

107107
function get_core_cli() {
108-
arduino-cli core update-index --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json,https://espressif.github.io/arduino-esp32/package_esp32_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
108+
export ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS="https://arduino.esp8266.com/stable/package_esp8266com_index.json https://espressif.github.io/arduino-esp32/package_esp32_index.json https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json"
109+
arduino-cli core update-index
109110
arduino-cli core install esp8266:esp8266
110111
arduino-cli core install esp32:esp32
111112
arduino-cli core install arduino:mbed_rp2040

0 commit comments

Comments
 (0)