-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 932 Bytes
/
build.yml
File metadata and controls
42 lines (36 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build
on:
push:
branches:
dev
jobs:
build-android:
name: Build android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1.5.3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Install dependencies
run: flutter pub get
- name: Build apk
run: flutter build apk
- name: Build appbundle
run: flutter build appbundle
build-windows:
name: Build windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: beta
- name: Install dependencies
run: flutter pub get
- name: Enable windows
run: flutter config --enable-windows-desktop
- name: Build windows
run: flutter build windows