File tree Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build test
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test_iOS :
7
+ name : Test iOS on ${{ matrix.os }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [macos-latest]
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+ - uses : actions/setup-java@v1
15
+ with :
16
+ java-version : ' 8.x'
17
+ - uses : subosito/flutter-action@v1
18
+ with :
19
+ channel : ' stable'
20
+ - run : dart --version
21
+ - run : flutter --version
22
+ - run : flutter pub get
23
+ - run : flutter analyze lib example/lib
24
+ - run : cd example; flutter build ios --no-codesign
25
+
26
+ test_android :
27
+ name : Test android on ${{ matrix.os }}
28
+ runs-on : ${{ matrix.os }}
29
+ strategy :
30
+ matrix :
31
+ os : [ubuntu-latest]
32
+ steps :
33
+ - uses : actions/checkout@v1
34
+ - uses : actions/setup-java@v1
35
+ with :
36
+ java-version : ' 8.x'
37
+ - uses : subosito/flutter-action@v1
38
+ with :
39
+ channel : ' stable'
40
+ - run : dart --version
41
+ - run : flutter --version
42
+ - run : flutter pub get
43
+ - run : flutter analyze lib example/lib
44
+ - run : sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;20.0.5594570"
45
+ - run : cd example; flutter build apk --debug
Original file line number Diff line number Diff line change
1
+ name : Pub Publish dry run
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ publish :
7
+
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v1
13
+ - name : Publish
14
+
15
+ with :
16
+ credential : ${{ secrets.CREDENTIAL_JSON }}
17
+ flutter_package : true
18
+ skip_test : true
19
+ dry_run : true
Original file line number Diff line number Diff line change
1
+ name : Pub Publish plugin
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ publish :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v1
15
+ - name : Publish
16
+
17
+ with :
18
+ credential : ${{ secrets.CREDENTIAL_JSON }}
19
+ flutter_package : true
20
+ skip_test : true
21
+ dry_run : false
You can’t perform that action at this time.
0 commit comments