-
-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (41 loc) · 1.02 KB
/
android_build.yml
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
43
44
45
46
47
48
49
50
51
name: Android
on:
workflow_call:
inputs:
release_tag:
required: true
type: string
release_name:
required: true
type: string
push:
branches:
- '**'
paths-ignore:
- '**/*.md'
- '**.md'
- '.github/**'
- 'docs/**'
pull_request:
branches:
- main
jobs:
android-build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
- name: Set up Flutter
uses: subosito/[email protected]
with:
channel: 'stable'
- name: Install dependencies
run: cd confichat && flutter pub get
- name: Update third party licenses Android
run: cd confichat && flutter pub run flutter_oss_licenses:generate.dart
- name: Build Android App
run: cd confichat && flutter build apk --release