Skip to content

Commit 833045e

Browse files
authored
Create flutter.yml
1 parent 5de8498 commit 833045e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/flutter.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Flutter
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: actions/setup-java@v1
16+
with:
17+
java-version: '12.x'
18+
- uses: subosito/flutter-action@v1
19+
with:
20+
channel: 'beta'
21+
- run: dart --version
22+
- run: flutter --version
23+
- run: flutter pub get
24+
- run: flutter packages pub run build_runner build --delete-conflicting-outputs
25+
- run: flutter build apk
26+

0 commit comments

Comments
 (0)