Skip to content

Commit

Permalink
reverse platform and fqbn
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafFilies committed Nov 28, 2023
1 parent 6fad4cb commit 7fcc14d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fcc14d

Please sign in to comment.