Skip to content

Commit 804cfdd

Browse files
author
Rijuth Menon
authored
added workflow to build flutter app
1 parent 7e296fb commit 804cfdd

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/flutter.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Flutter Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- next
8+
9+
jobs:
10+
build-android:
11+
name: Android
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Setup Java
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: "12.x"
21+
22+
- name: Setup Flutter
23+
uses: subosito/flutter-action@master
24+
with:
25+
channel: stable
26+
27+
- name: Build Flutter app for Android
28+
run: flutter build apk

0 commit comments

Comments
 (0)