From 85b6d5650a35b76bbc9dbe22743908fa8c0b2a26 Mon Sep 17 00:00:00 2001 From: "Filies Olaf (IFAG DES TOC PSA)" Date: Wed, 9 Oct 2024 19:18:28 +0200 Subject: [PATCH] Simplyfy yaml handling test --- .github/workflows/arduino_ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/arduino_ci.yml b/.github/workflows/arduino_ci.yml index bb89f59..1d17b9f 100644 --- a/.github/workflows/arduino_ci.yml +++ b/.github/workflows/arduino_ci.yml @@ -320,10 +320,10 @@ jobs: - device= $(echo $(./py_checkusb.py --serial ${SERIAL_NUM} --list devtype --json) | jq ".\"${SERIAL_NUM}\"" --compact-output ) - test=$(echo $device | jq ".[0]") + devicelist= $(echo $(./py_checkusb.py --serial ${SERIAL_NUM} --list devtype --json) | jq ".\"${SERIAL_NUM}\"" --compact-output ) + echo "device_type=$devicelist" - echo "device_type=$device" + test=$(echo $devicelist | jq ".[0]") echo "test=$test" # cd $HOME