Skip to content

Commit e390dd0

Browse files
committed
2 parents eaa4359 + f74a36f commit e390dd0

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build on Push
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build_android:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: subosito/flutter-action@v1.5.3
13+
- uses: actions/setup-java@v2
14+
with:
15+
distribution: 'zulu'
16+
java-version: '11'
17+
18+
- name: Install dependencies
19+
run: flutter pub get
20+
21+
- name: Build apk
22+
run: flutter build apk
23+
build_windows:
24+
runs-on: windows-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: subosito/flutter-action@v1
28+
with:
29+
channel: beta
30+
- name: Install dependencies
31+
run: flutter pub get
32+
- name: Enable windows
33+
run: flutter config --enable-windows-desktop
34+
- name: Build windows
35+
run: flutter build windows

0 commit comments

Comments
 (0)