Skip to content

Commit ecbad16

Browse files
Create android build action (#40)
1 parent 9779cba commit ecbad16

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/android.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Android
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-java@v2
16+
with:
17+
distribution: 'zulu'
18+
java-version: '11'
19+
- uses: subosito/flutter-action@v2
20+
with:
21+
flutter-version: '3.16.9'
22+
- name: Install dependencies
23+
run: flutter pub get
24+
- name: Generate l10n
25+
run: flutter gen-l10n
26+
- name: Build apk
27+
run: flutter build apk
28+
- name: Build appbundle
29+
run: flutter build appbundle

0 commit comments

Comments
 (0)