Skip to content

Commit cde23bc

Browse files
committed
Use the qualified dart command path.
1 parent 96fdd76 commit cde23bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ if [[ "${ACTIONS_ID_TOKEN_REQUEST_URL}" != "" && "${ACTIONS_ID_TOKEN_REQUEST_TOK
110110
then
111111
PUB_TOKEN=$(curl --retry 5 --retry-connrefused -sLS "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=https://pub.dev" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" | jq -r '.value')
112112
echo "PUB_TOKEN=${PUB_TOKEN}" >> $GITHUB_ENV
113-
dart pub token add https://pub.dev --env-var PUB_TOKEN
113+
${RUNNER_TOOL_CACHE}/dart-sdk/bin/dart pub token add https://pub.dev --env-var PUB_TOKEN
114114
fi

0 commit comments

Comments
 (0)