[CI] Try to fix broken index URLs (esp32:esp32:esp32)

This commit is contained in:
jgromes 2023-01-16 18:43:45 +01:00
parent 3da909ec3d
commit 143571e0a1

View file

@ -65,9 +65,9 @@ jobs:
run: run:
| |
# common settings - no extra options, skip STM32WL examples, all warnings # common settings - no extra options, skip STM32WL examples, all warnings
echo "name=options::" >> $GITHUB_OUTPUT echo "options=''" >> $GITHUB_OUTPUT
echo "name=skip-pattern::'STM32WL'" >> $GITHUB_OUTPUT echo "skip-pattern='STM32WL'" >> $GITHUB_OUTPUT
echo "name=warnings::'all'" >> $GITHUB_OUTPUT echo "warnings='all'" >> $GITHUB_OUTPUT
# platform-dependent settings - extra board options, board index URLs, skip patterns etc. # platform-dependent settings - extra board options, board index URLs, skip patterns etc.
if [[ "${{ contains(matrix.board, 'arduino:avr:mega') }}" == "true" ]]; then if [[ "${{ contains(matrix.board, 'arduino:avr:mega') }}" == "true" ]]; then
@ -96,7 +96,7 @@ jobs:
elif [[ "${{ contains(matrix.board, 'esp32:esp32') }}" == "true" ]]; then elif [[ "${{ contains(matrix.board, 'esp32:esp32') }}" == "true" ]]; then
# ESP32 # ESP32
python -m pip install pyserial python -m pip install pyserial
echo "name=index-url::--additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" >> $GITHUB_OUTPUT echo "index-url='--additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json'" >> $GITHUB_OUTPUT
elif [[ "${{ contains(matrix.board, 'esp8266:esp8266') }}" == "true" ]]; then elif [[ "${{ contains(matrix.board, 'esp8266:esp8266') }}" == "true" ]]; then
# ESP8266 # ESP8266