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:
3232 with :
3333 paths : " **/*.md"
3434
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+
3542 - name : Set up Flutter
3643 uses : subosito/flutter-action@v2
3744 with :
38- channel : " stable"
45+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
46+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
3947 architecture : x64
4048 cache : true
4149
@@ -80,10 +88,18 @@ jobs:
8088 with :
8189 fetch-depth : 1 # Use shallow clone for faster checkout
8290
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+
8398 - name : Set up Flutter
8499 uses : subosito/flutter-action@v2
85100 with :
86- channel : " stable"
101+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
102+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
87103 architecture : x64
88104 cache : true
89105
@@ -117,10 +133,18 @@ jobs:
117133 - name : Set up Dart
118134 uses : dart-lang/setup-dart@v1
119135
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+
120143 - name : Set up Flutter
121144 uses : subosito/flutter-action@v2
122145 with :
123- channel : " stable"
146+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
147+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
124148 architecture : x64
125149 cache : true
126150
You can’t perform that action at this time.
0 commit comments