This commit is contained in:
Matt Reeves 2024-12-20 22:48:15 -05:00
parent 0e0037ca5d
commit a2e37ddeba

View file

@ -18,7 +18,7 @@ jobs:
ISSUE_BODY="${{ github.event.issue.body }}"
echo "ISSUE_BODY=$ISSUE_BODY"
VM_NAME=$(echo "$ISSUE_BODY" | grep 'VM Name' | cut -d':' -f2 | xargs)
VM_NAME=$(echo "$ISSUE_BODY" | grep -A 1 'VM Name' | tail -n 1 | xargs)
echo "VM_NAME=$VM_NAME"
VM_ID=$(echo "$ISSUE_BODY" | grep 'VM ID:' | cut -d':' -f2 | xargs)