File tree Expand file tree Collapse file tree 3 files changed +54
-8
lines changed Expand file tree Collapse file tree 3 files changed +54
-8
lines changed Original file line number Diff line number Diff line change 1
- name : Pub Publish plugin
1
+ name : Publish
2
2
3
3
on :
4
4
release :
13
13
- name : Checkout
14
14
uses : actions/checkout@v1
15
15
- name : Publish
16
- uses : sakebook/actions-flutter-pub-publisher@v1.3 .0
16
+ uses : sakebook/actions-flutter-pub-publisher@v1.4 .0
17
17
with :
18
18
credential : ${{ secrets.CREDENTIAL_JSON }}
19
19
flutter_package : true
Original file line number Diff line number Diff line change
1
+ name : Publishable
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+ dry_run :
11
+ name : Dry run publish on ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os : [macos-latest]
16
+ steps :
17
+ - uses : actions/checkout@v1
18
+ - uses : actions/setup-java@v1
19
+ with :
20
+ java-version : ' 11.x'
21
+ - uses : subosito/flutter-action@v1
22
+ with :
23
+ channel : ' stable'
24
+ - run : dart --version
25
+ - run : flutter --version
26
+ - run : flutter pub get
27
+ - run : flutter pub publish --dry-run
Original file line number Diff line number Diff line change 1
- name : Build test
1
+ name : Runnable (stable)
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches :
6
+ - master
6
7
pull_request :
7
- branches : [ master ]
8
8
9
9
jobs :
10
+ analyze :
11
+ name : Analyze on ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest]
16
+ steps :
17
+ - uses : actions/checkout@v1
18
+ - uses : actions/setup-java@v1
19
+ with :
20
+ java-version : ' 11.x'
21
+ - uses : subosito/flutter-action@v1
22
+ with :
23
+ channel : ' stable'
24
+ - run : dart --version
25
+ - run : flutter --version
26
+ - run : flutter pub get
27
+ - run : flutter analyze lib example/lib
28
+
10
29
test_iOS :
30
+ needs : analyze
11
31
name : Test iOS on ${{ matrix.os }}
12
32
runs-on : ${{ matrix.os }}
13
33
strategy :
@@ -24,11 +44,11 @@ jobs:
24
44
- run : dart --version
25
45
- run : flutter --version
26
46
- run : flutter pub get
27
- - run : flutter analyze lib example/lib
28
47
- run : cd example; flutter build ios --no-codesign
29
48
30
49
test_android :
31
- name : Test android on ${{ matrix.os }}
50
+ needs : analyze
51
+ name : Test Android on ${{ matrix.os }}
32
52
runs-on : ${{ matrix.os }}
33
53
strategy :
34
54
matrix :
44
64
- run : dart --version
45
65
- run : flutter --version
46
66
- run : flutter pub get
47
- - run : flutter analyze lib example/lib
48
67
- run : sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;20.0.5594570"
49
68
- run : cd example; flutter build apk --debug
You can’t perform that action at this time.
0 commit comments