-
Notifications
You must be signed in to change notification settings - Fork 15
31 lines (31 loc) · 1.26 KB
/
build-playstore-android.yaml
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
name: Build Playstore Android
on: [workflow_call]
jobs:
build-android:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle
- name: key
run: openssl base64 -d -A -out /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/app/key.keystore <<< ${{ secrets.SIGNING_PLAYSTORE_KEYSTORE }}
- name: build AAB
run: ./gradlew bundleProductionPlaystoreRelease --parallel
env:
GITHUB_USERNAME: ${{ secrets.USERNAME_GITHUB }}
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_PLAYSTORE_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_PLAYSTORE_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_PLAYSTORE_STORE_PASSWORD }}
- name: explicit cleanup
run: rm /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/app/key.keystore
- uses: actions/upload-artifact@v3
with:
name: pia-output
path: app/build/outputs/bundle/
if-no-files-found: error