File tree Expand file tree Collapse file tree 1 file changed +15
-21
lines changed Expand file tree Collapse file tree 1 file changed +15
-21
lines changed Original file line number Diff line number Diff line change 44 - master
55jobs :
66 build :
7- runs-on : ubuntu-latest
8-
7+ runs-on : macos-latest
98 steps :
109 - uses : actions/checkout@v2
11- - name : Install Flutter
12- uses : subosito/flutter-action@v2
13- with :
14- flutter-version : ' 3.3.3 '
10+ - name : Tap Google's Dart SDK
11+ run : brew tap dart-lang/dart
12+ - name : Install Dart SDK
13+ run : brew install dart
1514 - name : Install dependencies
16- run : flutter pub get
17- - name : Analyze
18- run : flutter analyze
15+ run : dart pub get
1916 - name : Run tests
20- run : flutter test
21- - name : Setup Pub Credentials
22- shell : bash
23- env :
24- PUB_DEV_PUBLISH_ACCESS_TOKEN : ${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}
25- PUB_DEV_PUBLISH_REFRESH_TOKEN : ${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}
26- PUB_DEV_PUBLISH_TOKEN_ENDPOINT : ${{ secrets.PUB_DEV_PUBLISH_TOKEN_ENDPOINT }}
27- PUB_DEV_PUBLISH_EXPIRATION : ${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }}
28- run : |
29- sh ./pub_login.sh
17+ run : dart pub run test
18+ - name : Format code
19+ run : dart format --fix .
3020 - name : Check Publish Warnings
3121 run : dart pub publish --dry-run
32- - name : Publish Package
33- run : dart pub publish -f
22+ - name : Publish
23+ uses : k-paxian/dart-package-publisher@v1.5.1
24+ with :
25+ credentialJson : ${{ secrets.CREDENTIAL_JSON }}
26+ flutter : true
27+ skipTests : true
You can’t perform that action at this time.
0 commit comments