Skip to content

Commit

Permalink
Simplyfy yaml handling test
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafFilies committed Oct 9, 2024
1 parent 9042af6 commit 2dfcb8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@ jobs:
export PORT=`./find_usb.sh $SERIAL_NUM`
device=$(echo $(./py_checkusb.py --serial ${SERIAL_NUM} --list devtype --json) | jq ".[0].\"${SERIAL_NUM}\"" --compact-output )

devicelist=$(echo $(./py_checkusb.py --serial ${SERIAL_NUM} --list devtype --json) | jq ".\"${SERIAL_NUM}\"" --compact-output )
DEVICE=($echo $devicelist | jq -r '.[0]')
echo "Flash device: " $DEVICE
# for device in "${devicelist[@]}"; do
# export TYPE=${device[6]}
Expand Down

0 comments on commit 2dfcb8d

Please sign in to comment.