-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 953 Bytes
/
debug.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
name: "Build Debug"
on: [push, pull_request]
jobs:
build-debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up environment
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
FIREBASE_SERVICE_ACCOUNT_JSON: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_JSON }}
run: |
echo $GOOGLE_SERVICES_JSON > ./app/google-services.json
echo $FIREBASE_SERVICE_ACCOUNT_JSON > ./firebase-service-account.json
chmod +x gradlew
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Assemble Debug APK
run: ./gradlew assembleDebug
- name: App Distribution
run: ./gradlew appDistributionUploadDebug