1
- name : CI
1
+ name : build
2
2
3
- # Controls when the action will run. Triggers the workflow on push or pull request
4
- # events but only for the master branch
5
3
on :
6
4
push :
7
5
branches : [ master ]
8
6
pull_request :
9
7
branches : [ master ]
10
8
11
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12
9
jobs :
13
10
build :
14
11
name : build on ${{ matrix.os }}
@@ -17,31 +14,18 @@ jobs:
17
14
matrix :
18
15
os : [macos-latest, ubuntu-latest, windows-latest]
19
16
20
- # Steps represent a sequence of tasks that will be executed as part of the job
21
17
steps :
22
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
- - uses : actions/checkout@v2
24
-
25
- - name : Repo action
26
- run : echo repository is ready!
27
-
28
- - name : Flutter ENV action
29
-
18
+ - uses : actions/checkout@v1
19
+ - uses : subosito/flutter-action@v1
30
20
with :
31
- flutter-version : ' 1.12.13+hotfix.5 '
21
+ flutter-version : ' 1.12.x '
32
22
channel : ' beta'
33
23
34
- - name : Flutter web build action
24
+ - run : flutter config --enable-web
25
+ - name : Flutter web build
35
26
working-directory : workflow
36
27
run : |
37
- flutter config --enable-web
38
28
flutter pub get
39
29
flutter build web
40
-
41
- - name : Server build action
42
- run : |
43
- echo TODO
44
-
45
- - name : CLI build action
46
- run : |
47
- echo TODO
30
+ - run : echo TODO Server build action
31
+ - run : echo TODO CLI build action
0 commit comments