Skip to content

Commit 8ba45df

Browse files
Merge pull request #449 from appwrite/feat-fix-dart-flutter-deploy
fix credentials location
2 parents 29785df + 8f79d22 commit 8ba45df

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)