File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - uses : actions/checkout@v2
18+ - uses : subosito/flutter-action@v2
19+ with :
20+ flutter-version : " 2.10.0"
21+ channel : " stable"
22+ - run : |
23+ flutter --version
24+ flutter pub get
25+ flutter analyze --fatal-infos
1826
1927 - name : Deploy docs
2028 uses : mhausenblas/mkdocs-deploy-gh-pages@master
Original file line number Diff line number Diff line change 11name : Publish new plugin version
22on :
3- workflow_run :
4- workflows : ["Perform static code analysis through Dart CLI"]
5- types :
6- - completed
73 workflow_dispatch :
84 push :
95 branches :
106 - release
11- - master
127
138jobs :
149 publish :
1510 runs-on : ubuntu-latest
1611
1712 steps :
1813 - uses : actions/checkout@v2
19- - uses : dart-lang/setup-dart@v1
20-
21- - name : Run static dart analysis with fatal infos
22- run : dart analyze --fatal-infos
14+ - uses : subosito/flutter-action@v2
15+ with :
16+ flutter-version : " 2.10.0"
17+ channel : " stable"
18+ - run : |
19+ flutter --version
20+ flutter pub get
21+ flutter analyze --fatal-infos
2322
2423 - name : Create credentials file
2524 run : echo $PUB_CREDENTIALS > ~/pub-credentials.json
3534 PUB_CREDENTIALS : ${{ secrets.PUB_CREDENTIALS }}
3635
3736 - name : Publish
38- run : dart pub publish --dry-run
37+ run : dart pub publish --force
Original file line number Diff line number Diff line change 44 pull_request :
55 types : [opened, reopened, review_requested]
66 branches :
7- - " release"
87 - " master"
98 push :
109 branches :
2120 with :
2221 flutter-version : " 2.10.0"
2322 channel : " stable"
24- - run : flutter --version
25- - name : Fetch packages
26- run : flutter pub get
27-
28- - name : Run static dart analysis with fatal infos
29- run : flutter analyze --fatal-infos
23+ - run : |
24+ flutter --version
25+ flutter pub get
26+ flutter analyze --fatal-infos
You can’t perform that action at this time.
0 commit comments