File tree 5 files changed +108
-36
lines changed
5 files changed +108
-36
lines changed Original file line number Diff line number Diff line change
1
+ name : Flutter SDK for Linux
2
+
3
+ on :
4
+ push :
5
+ branches : [main, v*]
6
+ pull_request :
7
+ branches : [main, v*]
8
+ schedule :
9
+ # https://crontab.guru/#40_10_*_*_*
10
+ - cron : ' 40 10 * * *'
11
+ workflow_dispatch :
12
+
13
+ jobs :
14
+ run :
15
+ uses : ./.github/workflows/flutter.yml
16
+ strategy :
17
+ matrix :
18
+ version :
19
+ - latest
20
+ - 3.0.0
21
+ with :
22
+ runs-on : ubuntu-latest
23
+ version : ${{ matrix.version }}
Original file line number Diff line number Diff line change
1
+ name : Flutter SDK for macOS (Intel)
2
+
3
+ on :
4
+ push :
5
+ branches : [main, v*]
6
+ pull_request :
7
+ branches : [main, v*]
8
+ schedule :
9
+ # https://crontab.guru/#40_10_*_*_*
10
+ - cron : ' 40 10 * * *'
11
+ workflow_dispatch :
12
+
13
+ jobs :
14
+ run :
15
+ uses : ./.github/workflows/flutter.yml
16
+ strategy :
17
+ matrix :
18
+ version :
19
+ - latest
20
+ - 3.0.0
21
+ with :
22
+ runs-on : macos-13 # Intel Mac
23
+ version : ${{ matrix.version }}
Original file line number Diff line number Diff line change
1
+ name : Flutter SDK for macOS
2
+
3
+ on :
4
+ push :
5
+ branches : [main, v*]
6
+ pull_request :
7
+ branches : [main, v*]
8
+ schedule :
9
+ # https://crontab.guru/#40_10_*_*_*
10
+ - cron : ' 40 10 * * *'
11
+ workflow_dispatch :
12
+
13
+ jobs :
14
+ run :
15
+ uses : ./.github/workflows/flutter.yml
16
+ strategy :
17
+ matrix :
18
+ version :
19
+ - latest
20
+ - 3.0.0
21
+ with :
22
+ runs-on : macos-latest # Apple M1 Silicon
23
+ version : ${{ matrix.version }}
Original file line number Diff line number Diff line change
1
+ name : Flutter SDK for Windows
2
+
3
+ on :
4
+ push :
5
+ branches : [main, v*]
6
+ pull_request :
7
+ branches : [main, v*]
8
+ schedule :
9
+ # https://crontab.guru/#40_10_*_*_*
10
+ - cron : ' 40 10 * * *'
11
+ workflow_dispatch :
12
+
13
+ jobs :
14
+ run :
15
+ uses : ./.github/workflows/flutter.yml
16
+ strategy :
17
+ matrix :
18
+ version :
19
+ - latest
20
+ - 3.0.0
21
+ with :
22
+ runs-on : windows-latest
23
+ version : ${{ matrix.version }}
Original file line number Diff line number Diff line change 1
1
name : Flutter
2
2
3
3
on :
4
- push :
5
- branches : [main, v*]
6
- pull_request :
7
- branches : [main, v*]
8
- schedule :
9
- # https://crontab.guru/#40_10_*_*_*
10
- - cron : ' 40 10 * * *'
11
- workflow_dispatch :
4
+ workflow_call :
5
+ inputs :
6
+ runs-on :
7
+ description : ' Operating system'
8
+ required : true
9
+ default : ' ubuntu-latest'
10
+ type : string
11
+ version :
12
+ description : ' Flutter version'
13
+ required : true
14
+ default : ' latest'
15
+ type : string
12
16
13
17
jobs :
14
18
test-stable :
15
- runs-on : ${{ matrix.os }}
16
- strategy :
17
- fail-fast : false
18
- matrix :
19
- os :
20
- - ubuntu-latest
21
- - macos-latest # Apple M1 Silicon
22
- - macos-13 # Intel Mac
23
- - windows-latest
24
- version :
25
- - latest
26
- - 3.3.0
27
- - 3.0.0
19
+ runs-on : ${{ inputs.runs-on }}
28
20
steps :
29
21
- uses : actions/checkout@v4
30
22
31
23
- uses : ./
32
24
with :
33
25
channel : stable
34
- version : ${{ matrix .version }}
26
+ version : ${{ inputs .version }}
35
27
36
28
- name : Dart version
37
29
run : dart --version
@@ -46,26 +38,14 @@ jobs:
46
38
dart hello.dart
47
39
48
40
test-beta :
49
- runs-on : ${{ matrix.os }}
50
- strategy :
51
- fail-fast : false
52
- matrix :
53
- os :
54
- - ubuntu-latest
55
- - macos-latest # Apple M1 Silicon
56
- - macos-13 # Intel Mac
57
- - windows-latest
58
- version :
59
- - latest
60
- - 3.3.0-0.0.pre
61
- - 3.1.0
41
+ runs-on : ${{ inputs.runs-on }}
62
42
steps :
63
43
- uses : actions/checkout@v4
64
44
65
45
- uses : ./
66
46
with :
67
47
channel : beta
68
- version : ${{ matrix .version }}
48
+ version : ${{ inputs .version }}
69
49
70
50
- name : Dart version
71
51
run : dart --version
You can’t perform that action at this time.
0 commit comments