Skip to content

Commit e813a50

Browse files
committed
Test 4, funnel array through env vars
1 parent 9657fb2 commit e813a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/hil-library-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ jobs:
120120
cd /opt/runner_support/
121121
122122
cd /opt/runner_support/
123-
serials=$(echo $(./py_checkusb.py --type ${{ env.library }} --list serial --json) | jq ".\"${{ env.library }}\"[]" --compact-output )
123+
declare -a serials=$(echo $(./py_checkusb.py --type ${{ env.library }} --list serial --json) | jq ".\"${{ env.library }}\"[]" --compact-output )
124124
echo "Serials: " $serials
125125
126-
for serial in "$serials"; do
126+
for serial in "${serials[@]}"; do
127127
echo "Serial: $serial"
128128
done
129129

0 commit comments

Comments
 (0)