Skip to content

Commit 75fd754

Browse files
committed
use arduino lib as escape string
1 parent 6d6cd17 commit 75fd754

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/githubci.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,7 @@ concurrency:
77
cancel-in-progress: true
88

99
env:
10-
ARDUINO_LIBS:
11-
- 'Adafruit SPIFlash'
12-
- 'MIDI Library'
13-
- 'Adafruit seesaw Library'
14-
- 'Adafruit NeoPixel'
15-
- 'SdFat - Adafruit Fork'
16-
- 'SD'
17-
- 'Adafruit Circuit Playground'
18-
- 'Adafruit InternalFlash'
19-
- 'Pico PIO USB'
10+
ARDUINO_LIBS: "\"Adafruit SPIFlash\" \"MIDI Library\" \"Adafruit seesaw Library\" \"Adafruit NeoPixel\" \"SdFat - Adafruit Fork\" \"SD\" \"Adafruit Circuit Playground\" \"Adafruit InternalFlash\" \"Pico PIO USB\""
2011

2112
jobs:
2213
pre-commit:
@@ -86,13 +77,9 @@ jobs:
8677

8778
- name: Install Libraries
8879
run: |
89-
LIBS_STRING=""
90-
for lib in "${{ env.ARDUINO_LIBS[@] }}"; do
91-
LIBS_STRING+="\"$lib\" "
92-
done
93-
echo "$LIBS_STRING"
80+
echo ${{ env.ARDUINO_LIBS }}
9481
# arduino-cli lib install "Adafruit SPIFlash" "MIDI Library" "Adafruit seesaw Library" "Adafruit NeoPixel" "SdFat - Adafruit Fork" "SD" "Adafruit Circuit Playground" "Adafruit InternalFlash" "Pico PIO USB"
95-
arduino-cli lib install $LIBS_STRING
82+
arduino-cli lib install ${{ env.ARDUINO_LIBS }}
9683
9784
- name: test platforms
9885
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}

0 commit comments

Comments
 (0)