File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "flutter": "stable"
2
+ "flutter": "stable",
3
+ "flavors": {
4
+ "stable": "stable",
5
+ "beta": "beta"
6
+ }
3
7
}
Original file line number Diff line number Diff line change 11
11
12
12
workflow_dispatch :
13
13
14
+ # This ensures that previous jobs for the PR are canceled when PR is updated
15
+ concurrency :
16
+ group : ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress : true
18
+
14
19
jobs :
15
20
build :
16
21
runs-on : macos-latest
22
+ strategy :
23
+ matrix :
24
+ flutter-version : [stable, beta]
17
25
18
26
steps :
19
27
- uses : actions/checkout@v4
34
42
uses : kuhnroyal/flutter-fvm-config-action/setup@v3
35
43
with :
36
44
path : ' .fvmrc'
45
+ flavor : ${{ matrix.flutter-version }}
37
46
- name : Install dependencies
38
47
run : flutter pub get
39
48
- name : Format code
You can’t perform that action at this time.
0 commit comments