-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (36 loc) · 1011 Bytes
/
android.yml
File metadata and controls
39 lines (36 loc) · 1011 Bytes
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
name: Bible CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]
environment: build
steps:
- uses: actions/checkout@v4
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
check-latest: true
- name: Build with Gradle
env:
REMOTE_CACHE_URL: ${{ secrets.REMOTE_CACHE_URL }}
REMOTE_CACHE_USER: ${{ secrets.REMOTE_CACHE_USER }}
REMOTE_CACHE_PASS: ${{ secrets.REMOTE_CACHE_PASS }}
run: ./gradlew build bundleDebug
- uses: actions/upload-artifact@v4
with:
name: APK
path: app/build/outputs/apk/debug/app-debug.apk
- uses: actions/upload-artifact@v4
with:
name: Bundle
path: app/build/outputs/bundle/debug/app-debug.aab