File tree Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Original file line number Diff line number Diff line change 55 types : [published]
66
77jobs :
8- publish :
9-
8+ build :
109 runs-on : ubuntu-latest
11-
1210 steps :
13- - name : Checkout
14- uses : actions/checkout@v1
11+ - uses : actions/checkout@v2
12+ - name : Install Flutter
13+ uses : subosito/flutter-action@v2
14+ with :
15+ channel : ' stable'
16+ - name : Install project dependencies
17+ run : flutter pub get
18+ - name : Dart Format Check
19+ run : dart format lib/ test/ --set-exit-if-changed
20+ - name : Import Sorter Check
21+ run : flutter pub run import_sorter:main --no-comments --exit-if-changed
22+ - name : Dart Analyze Check
23+ run : flutter analyze
24+ - name : Dart Test Check
25+ run : flutter test
26+ # - name: Check Publish Warnings
27+ # run: dart pub publish --dry-run
1528 - name : Publish
16- uses : sakebook/actions-flutter-pub- publisher@v1.3 .1
29+ uses : k-paxian/dart-package- publisher@v1.5 .1
1730 with :
18- credential : ${{ secrets.CREDENTIAL_JSON }}
19- flutter_package : true
20- skip_test : true
21- dry_run : false
31+ credentialJson : ${{ secrets.CREDENTIAL_JSON }}
32+ flutter : true
33+ skipTests : true
34+ force : true
You can’t perform that action at this time.
0 commit comments