Skip to content

Commit e0c4f64

Browse files
committed
fix travis
1 parent 519f54a commit e0c4f64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
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",
@@ -19,6 +19,6 @@ install:
1919
deploy:
2020
provider: script
2121
skip_cleanup: true
22-
script: dart format ./lib/ && pub publish -f
22+
script: dart format ./lib/ && dart pub publish -f
2323
on:
2424
tags: true

0 commit comments

Comments
 (0)