-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (31 loc) · 902 Bytes
/
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
name: Build APK
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Build the app
run: ./gradlew assembleDebug assemble
- name: Sign app APK
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: |
app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.SIGNING_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PW }}
keyPassword: ${{ secrets.SIGNING_KEY_PW }}
- name: Upload apk as asset
uses: actions/upload-artifact@v2
with:
name: APKs
path: ./app/build/outputs/apk/**/*.apk