File tree 2 files changed +21
-1
lines changed
2 files changed +21
-1
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 12
12
description : ' Chip to run tests for'
13
13
required : true
14
14
15
+ env :
16
+ DEBIAN_FRONTEND : noninteractive
17
+
18
+ defaults :
19
+ run :
20
+ shell : bash
21
+
15
22
jobs :
16
23
hardware-test :
17
24
name : Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
48
55
- name : Checkout user repository
49
56
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
50
57
uses : actions/checkout@v4
58
+ with :
59
+ sparse-checkout : |
60
+ *
61
+
62
+ - name : List files
63
+ if : ${{ steps.check-tests.outputs.enabled == 'true' }}
64
+ run : ls -la
51
65
52
66
# setup-python currently only works on ubuntu images
53
67
# - uses: actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments