diff --git a/github-actions-test/run.sh b/github-actions-test/run.sh index 2327088..f3aa6e7 100755 --- a/github-actions-test/run.sh +++ b/github-actions-test/run.sh @@ -11,7 +11,7 @@ sleep 1 not-my-board export http://localhost:2092 "$script_dir/export-description.toml" & sudo true -sudo TOKEN="$ACTIONS_ID_TOKEN_REQUEST_TOKEN" URL="$ACTIONS_ID_TOKEN_REQUEST_URL" `which not-my-board` agent --token-cmd 'set -x; env >&2; curl -H "Authorization: bearer $TOKEN" "$URL&audience=not-my-board" | jq -r ".value"' http://localhost:2092 & +sudo `which not-my-board` agent --token-cmd "set -x; env >&2; curl -H 'Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN' '$ACTIONS_ID_TOKEN_REQUEST_URL&audience=not-my-board' | jq -r '.value'" http://localhost:2092 & sleep 1 sudo `which not-my-board` attach "$script_dir/test.toml"