File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -105,29 +105,29 @@ jobs:
105
105
106
106
REPO="$(basename "$GITHUB_REPOSITORY")"
107
107
LIBRARY="$(basename ${{ matrix.libraries }} )"
108
- SERIALS=$(echo $(./py_checkusb.py --type ${LIBRARY} --list serial --json) | jq ".\"${LIBRARY}\"" --compact-output )
108
+ SERIALS=$(echo $(./py_checkusb.py --type ${LIBRARY} --list serial --json) | jq ".\"${LIBRARY}\"[] " --compact-output )
109
109
110
110
echo "repo=$REPO" >> $GITHUB_ENV
111
111
echo "library=$LIBRARy" >> $GITHUB_ENV
112
112
echo "version=$TEST_VERSION" >> $GITHUB_ENV
113
- echo "serials=$SERIALS" >> $GITHUB_ENV
113
+ # echo "serials=$SERIALS" >> $GITHUB_ENV
114
114
115
115
echo "Repo " $REPO
116
116
echo "Libraries " $LIBRARY
117
117
echo "Version " ${TEST_VERSION}
118
- echo "Serials " ${{ toJson($ SERIALS) }}
118
+ echo "Serials " $SERIALS
119
119
120
120
121
121
# Build the test code with make and flash it to the board
122
122
- name : Build
123
123
run : |
124
124
cd /opt/runner_support/
125
125
126
- test=echo ${{ fromJson(env.serials) }}
127
- echo ${test}
128
- for serial in "${{ fromJson(env.serials) }}"; do
129
- echo "Serial: $serial"
130
- done
126
+ # test=echo ${{ fromJson(env.serials) }}
127
+ # echo ${test}
128
+ # for serial in "${{ fromJson(env.serials) }}"; do
129
+ # echo "Serial: $serial"
130
+ # done
131
131
132
132
echo "BUILD"
133
133
You can’t perform that action at this time.
0 commit comments