We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d261972 commit c4f4d8eCopy full SHA for c4f4d8e
pub_login.sh
@@ -1,4 +1,4 @@
1
-# This script creates/updates credentials.json file which is used
+# This script creates/updates pub-credentials.json file which is used
2
# to authorize publisher when publishing packages to pub.dev
3
4
# Checking whether the secrets are available as environment
@@ -24,8 +24,8 @@ if [ -z "${PUB_DEV_PUBLISH_EXPIRATION}" ]; then
24
fi
25
# ADD THIS LINE TO CREATE THE DIRECTORY
26
mkdir -p ~/.pub-cache
27
-# Create credentials.json file.
28
-cat <<EOF > ~/.pub-cache/credentials.json
+# Create pub-credentials.json file.
+cat <<EOF > ~/.pub-cache/pub-credentials.json
29
{
30
"accessToken":"${PUB_DEV_PUBLISH_ACCESS_TOKEN}",
31
"refreshToken":"${PUB_DEV_PUBLISH_REFRESH_TOKEN}",
0 commit comments