Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit edb7f2a

Browse files
authored
build: setup flutter environment on CI/CD (#294)
1 parent 3f1f044 commit edb7f2a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
shell: bash
1818

1919
steps:
20-
- uses: dart-lang/setup-dart@v1
20+
- uses: subosito/flutter-action@v1
21+
with:
22+
channel: 'stable'
2123
- uses: actions/checkout@v2
2224
- name: Install dependencies
2325
run: dart pub get
@@ -49,9 +51,9 @@ jobs:
4951
runs-on: ubuntu-latest
5052

5153
steps:
52-
- uses: dart-lang/setup-dart@v1
54+
- uses: subosito/flutter-action@v1
5355
with:
54-
sdk: 2.12.0
56+
flutter-version: '2.0.0'
5557
- uses: actions/checkout@v2
5658
- name: Install dependencies
5759
run: pub downgrade
@@ -66,9 +68,9 @@ jobs:
6668
runs-on: ubuntu-latest
6769

6870
steps:
69-
- uses: dart-lang/setup-dart@v1
71+
- uses: subosito/flutter-action@v1
7072
with:
71-
sdk: beta
73+
channel: 'beta'
7274
- uses: actions/checkout@v2
7375
- name: Install dependencies
7476
run: dart pub upgrade

0 commit comments

Comments
 (0)