From 7fcc14d8f8994ce6b08cded7006d560940513cc2 Mon Sep 17 00:00:00 2001 From: "Filies Olaf (IFAG DES TOC PSA)" Date: Tue, 28 Nov 2023 19:02:46 +0100 Subject: [PATCH] reverse platform and fqbn --- .github/workflows/arduino_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/arduino_ci.yml b/.github/workflows/arduino_ci.yml index 090ea309..a81e7edf 100644 --- a/.github/workflows/arduino_ci.yml +++ b/.github/workflows/arduino_ci.yml @@ -122,8 +122,8 @@ jobs: export REPO="$(basename "$GITHUB_REPOSITORY")" export HEXNAME=`tr ':' '.' <<<"${{ matrix.fqbn }}"` - export SERIAL_NUM=`cat ./board2port.yaml | shyaml get-value $HEXNAME.".".$REPO.".".${{ matrix.port_name}}` - export DEVICE=`cat ./board2port.yaml | shyaml get-value $HEXNAME.".".$REPO.".".${{ matrix.device}}` + export SERIAL_NUM=`cat ./board2port.yaml | shyaml get-value $HEXNAME.$REPO.${{ matrix.port_name}}` + export DEVICE=`cat ./board2port.yaml | shyaml get-value $HEXNAME.$REPO.${{ matrix.device}}` export PORT=`./find_usb.sh $SERIAL_NUM` echo "Port Serial Num: ".$SERIAL_NUM echo "Port found: ".$PORT