File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 41
41
if [ ! -d " $ARDUINO_IDE_PATH " ] || [ ! -f " $ARDUINO_IDE_PATH /arduino-cli" ]; then
42
42
echo " Installing Arduino CLI on $OS_NAME ..."
43
43
mkdir -p " $ARDUINO_IDE_PATH "
44
- curl -fsSL https://raw.githubusercontent.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://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=" $ARDUINO_IDE_PATH " sh
50
+ fi
45
51
fi
46
52
Original file line number Diff line number Diff line change 15
15
env :
16
16
DEBIAN_FRONTEND : noninteractive
17
17
18
+ defaults :
19
+ run :
20
+ shell : bash
21
+
18
22
jobs :
19
23
hardware-test :
20
24
name : Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
37
41
38
42
- name : Evaluate if tests should be run
39
43
id : check-tests
40
- shell : bash
41
44
run : |
42
45
cache_exists=${{ steps.cache-results.outputs.cache-hit == 'true' }}
43
46
enabled=true
You can’t perform that action at this time.
0 commit comments