-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (40 loc) · 1.07 KB
/
sierra-leone.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
name: SIERA LEONE Build
on:
push:
tags:
- v-*
jobs:
beta-android:
name: Build Android APK and upload to Play Store
runs-on: ubuntu-latest
env:
API_URL: https://coachdigital.org/sl/api
COUNTRY: sl
SHOW_TLC: true
steps:
- name: Checkout 🛎️
uses: actions/checkout@v1
with:
persist-credentials: false
- name: Install Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: 'gradle'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build APK
run: ./gradlew clean assembleRelease --no-daemon
working-directory: android
- name: Upload APK
uses: actions/upload-artifact@v1
with:
name: apk
path: android/app/build/outputs/apk/release/app-release.apk