We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c9922 commit dea64b9Copy full SHA for dea64b9
.github/workflows/hil-library-test.yml
@@ -120,12 +120,11 @@ jobs:
120
cd /opt/runner_support/
121
122
123
- declare -a serials=$(echo $(./py_checkusb.py --type ${{ env.library }} --list serial --json) | jq ".\"${{ env.library }}\"[]" --compact-output )
+ readarray -t serials < <$(echo $(./py_checkusb.py --type ${{ env.library }} --list serial --json) | jq ".\"${{ env.library }}\"[]" --compact-output )
124
echo "Serials: " $serials
125
echo $serials[0]
126
echo $serials[1]
127
128
-
129
for serial in "${serials[@]}"; do
130
echo "Serial: $serial"
131
done
0 commit comments