File tree Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Original file line number Diff line number Diff line change 3333
3434 steps :
3535 - uses : actions/checkout@v2
36- - uses : flutter-actions/setup-flutter@master
36+
37+ - name : Setup Flutter SDK
38+ uses : flutter-actions/setup-flutter@v1
3739 with :
3840 sdk : stable
3941 version : 2.0.2
4850 run : flutter test
4951` ` `
5052
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+
5196# License
5297
5398See the [` LICENSE`](LICENSE) file.
You can’t perform that action at this time.
0 commit comments