File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,18 @@ jobs:
32
32
with :
33
33
paths : " **/*.md"
34
34
35
+ - name : Get Flutter version by FVM
36
+ uses : kuhnroyal/flutter-fvm-config-action@v2
37
+ id : fvm-config-action
38
+ with :
39
+ path : " .fvmrc"
40
+ flavor : " stable"
41
+
35
42
- name : Set up Flutter
36
43
uses : subosito/flutter-action@v2
37
44
with :
38
- channel : " stable"
45
+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
46
+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
39
47
architecture : x64
40
48
cache : true
41
49
@@ -80,10 +88,18 @@ jobs:
80
88
with :
81
89
fetch-depth : 1 # Use shallow clone for faster checkout
82
90
91
+ - name : Get Flutter version by FVM
92
+ uses : kuhnroyal/flutter-fvm-config-action@v2
93
+ id : fvm-config-action
94
+ with :
95
+ path : " .fvmrc"
96
+ flavor : " stable"
97
+
83
98
- name : Set up Flutter
84
99
uses : subosito/flutter-action@v2
85
100
with :
86
- channel : " stable"
101
+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
102
+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
87
103
architecture : x64
88
104
cache : true
89
105
@@ -117,10 +133,18 @@ jobs:
117
133
- name : Set up Dart
118
134
uses : dart-lang/setup-dart@v1
119
135
136
+ - name : Get Flutter version by FVM
137
+ uses : kuhnroyal/flutter-fvm-config-action@v2
138
+ id : fvm-config-action
139
+ with :
140
+ path : " .fvmrc"
141
+ flavor : " stable"
142
+
120
143
- name : Set up Flutter
121
144
uses : subosito/flutter-action@v2
122
145
with :
123
- channel : " stable"
146
+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
147
+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
124
148
architecture : x64
125
149
cache : true
126
150
You can’t perform that action at this time.
0 commit comments