-
-
Notifications
You must be signed in to change notification settings - Fork 53
34 lines (32 loc) · 884 Bytes
/
android.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
name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
- name: set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Create google-services.json
env:
google_services_json: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $google_services_json | base64 -d > voipms-sms/src/primary/google-services.json
- name: Build with Gradle (primary)
run: ./gradlew build
env:
FDROID_BUILD: '0'
- name: Build with Gradle (F-Droid)
run: ./gradlew build
env:
FDROID_BUILD: '1'