File tree 1 file changed +20
-15
lines changed
1 file changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -165,18 +165,23 @@ jobs:
165
165
- name : cat serial port
166
166
env :
167
167
ESPFLASH_PORT : /dev/serial_ports/${{ matrix.board }}
168
- shell : bash
169
- run : |
170
- result=$(timeout 5s cat ${{ env.ESPFLASH_PORT }})
171
- echo "$result"
172
-
173
- ret=$?
174
- if [[ $ret -eq 124 ]]; then
175
- ret=0
176
- fi
177
-
178
- if ! echo "$result" | grep -q "Hello world!"; then
179
- ret=1
180
- fi
181
-
182
- exit $ret
168
+ run : timeout 5s cat ${{ env.ESPFLASH_PORT }} 2>&1
169
+
170
+ # - name: cat serial port
171
+ # env:
172
+ # ESPFLASH_PORT: /dev/serial_ports/${{ matrix.board }}
173
+ # shell: bash
174
+ # run: |
175
+ # result=$(timeout 5s cat ${{ env.ESPFLASH_PORT }})
176
+ # echo "$result"
177
+
178
+ # ret=$?
179
+ # if [[ $ret -eq 124 ]]; then
180
+ # ret=0
181
+ # fi
182
+
183
+ # if ! echo "$result" | grep -q "Hello world!"; then
184
+ # ret=1
185
+ # fi
186
+
187
+ # exit $ret
You can’t perform that action at this time.
0 commit comments