Skip to content

Commit 03af560

Browse files
authored
Update and rename main.yml to flutter.yml
1 parent bf25d77 commit 03af560

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/flutter.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Flutter action
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
name: Test on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, windows-latest, macos-latest]
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: actions/setup-java@v1
15+
with:
16+
java-version: '12.x'
17+
- uses: subosito/flutter-action@v1.1.1
18+
with:
19+
flutter-version: '1.8.4'
20+
channel: 'beta'
21+
- run: flutter pub get
22+
- run: flutter test
23+
- run: flutter build apk

0 commit comments

Comments
 (0)