File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 4141if [ ! -d " $ARDUINO_IDE_PATH " ] || [ ! -f " $ARDUINO_IDE_PATH /arduino-cli" ]; then
4242 echo " Installing Arduino CLI on $OS_NAME ..."
4343 mkdir -p " $ARDUINO_IDE_PATH "
44- curl -fsSL https://github.com/arduino/arduino-cli/master/install.sh | BINDIR=" $ARDUINO_IDE_PATH " sh
44+ if [ " $OS_IS_WINDOWS " == " 1" ]; then
45+ curl -fsSL https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.zip -o arduino-cli.zip
46+ unzip -q arduino-cli.zip -d " $ARDUINO_IDE_PATH "
47+ rm arduino-cli.zip
48+ else
49+ curl -fsSL https://github.com/arduino/arduino-cli/master/install.sh | BINDIR=" $ARDUINO_IDE_PATH " sh
50+ fi
4551fi
4652
Original file line number Diff line number Diff line change 1515env :
1616 DEBIAN_FRONTEND : noninteractive
1717
18+ defaults :
19+ run :
20+ shell : bash
21+
1822jobs :
1923 hardware-test :
2024 name : Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
3741
3842 - name : Evaluate if tests should be run
3943 id : check-tests
40- shell : bash
4144 run : |
4245 cache_exists=${{ steps.cache-results.outputs.cache-hit == 'true' }}
4346 enabled=true
You can’t perform that action at this time.
0 commit comments