File tree 1 file changed +46
-1
lines changed
1 file changed +46
-1
lines changed Original file line number Diff line number Diff line change 33
33
34
34
steps :
35
35
- uses : actions/checkout@v2
36
- - uses : flutter-actions/setup-flutter@master
36
+
37
+ - name : Setup Flutter SDK
38
+ uses : flutter-actions/setup-flutter@v1
37
39
with :
38
40
sdk : stable
39
41
version : 2.0.2
48
50
run : flutter test
49
51
` ` `
50
52
53
+ Working with Android project:
54
+
55
+ ` ` ` yml
56
+ name : Flutter for Androi
57
+
58
+ on :
59
+ push :
60
+ branches : [ master ]
61
+ pull_request :
62
+ branches : [ master ]
63
+
64
+ jobs :
65
+ build :
66
+ runs-on : ubuntu-latest
67
+
68
+ steps :
69
+ - uses : actions/checkout@v2
70
+
71
+ - name : Set up JDK 1.8
72
+ uses : actions/setup-java@v1
73
+ with :
74
+ java-version : 1.8
75
+
76
+ - name : Setup Android SDK
77
+ uses : android-actions/setup-android@v2
78
+
79
+ - name : Setup Flutter SDK
80
+ uses : flutter-actions/setup-flutter@v1
81
+ with :
82
+ sdk : stable
83
+ version : 2.0.2
84
+
85
+ - name : Install dependencies
86
+ run : flutter pub get
87
+
88
+ - name : Analyze project source
89
+ run : dart analyze
90
+
91
+ - name : Run tests
92
+ run : flutter test
93
+ ` ` `
94
+
95
+
51
96
# License
52
97
53
98
See the [` LICENSE`](LICENSE) file.
You can’t perform that action at this time.
0 commit comments