Skip to content

Commit 8f79d22

Browse files
committed
fix credentials location
1 parent c62484d commit 8f79d22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

templates/dart/.travis.yml.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ dart: stable
55
os: linux
66

77
install:
8-
- mkdir -p ~/.pub-cache
8+
- mkdir -p ~/.config/dart
99
- |
10-
cat <<EOF > ~/.pub-cache/credentials.json
10+
cat <<EOF > ~/.config/dart/pub-credentials.json
1111
{
1212
"accessToken":"$PUB_ACCESS_TOKEN",
1313
"refreshToken":"$PUB_REFRESH_TOKEN",

templates/flutter/.travis.yml.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ dart: stable
55
os: linux
66

77
install:
8-
- mkdir -p ~/.pub-cache
8+
- mkdir -p ~/.config/dart
99
- |
10-
cat <<EOF > ~/.pub-cache/credentials.json
10+
cat <<EOF > ~/.config/dart/pub-credentials.json
1111
{
1212
"accessToken":"$PUB_ACCESS_TOKEN",
1313
"refreshToken":"$PUB_REFRESH_TOKEN",

0 commit comments

Comments
 (0)