Skip to content

Commit 82cdde8

Browse files
committed
add fvm flavors
1 parent 2e8784e commit 82cdde8

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.fvmrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"flutter": "stable"
2+
"flutter": "stable",
3+
"flavors": {
4+
"stable": "stable",
5+
"beta": "beta"
6+
}
37
}

.github/workflows/dart.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ jobs:
2323

2424
steps:
2525
- uses: actions/checkout@v4
26-
- uses: kuhnroyal/flutter-fvm-config-action/setup@v3
26+
- uses: kuhnroyal/flutter-fvm-config-action/setup@v3.2
27+
with:
28+
flavor: ${{ matrix.channel }}
2729

2830
- name: Install dependencies
2931
run: |
30-
fvm dart pub global activate melos
32+
dart pub global activate melos
3133
melos bootstrap
3234
melos run postbootstrap
3335
@@ -36,7 +38,7 @@ jobs:
3638

3739
# Uncomment this step to verify the use of 'dart format' on each commit.
3840
- name: Verify formatting
39-
run: fvm dart format --output=none --set-exit-if-changed .
41+
run: dart format --output=none --set-exit-if-changed .
4042

4143
# Consider passing '--fatal-infos' for slightly stricter analysis.
4244
- name: Analyze project source

0 commit comments

Comments
 (0)