File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
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://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
4551fi
4652
Original file line number Diff line number Diff line change 1212 description : ' Chip to run tests for'
1313 required : true
1414
15+ env :
16+ DEBIAN_FRONTEND : noninteractive
17+
18+ defaults :
19+ run :
20+ shell : bash
21+
1522jobs :
1623 hardware-test :
1724 name : Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
4855 - name : Checkout user repository
4956 if : ${{ steps.check-tests.outputs.enabled == 'true' }}
5057 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
5165
5266 # setup-python currently only works on ubuntu images
5367 # - uses: actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments