forked from sadellie/unitto
-
Notifications
You must be signed in to change notification settings - Fork 9
49 lines (39 loc) · 1.33 KB
/
release-app-google-play.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Build and publish app to Google Play (Google Play variant)
on:
release:
types: [ published ]
env:
JAVA_OPTS: -Xmx12G
jobs:
release-app-google-play:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Write KeyStore 🗝️
uses: ./.github/actions/prepare-keystore
with:
signingStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }}
signingKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
signingKeyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyStoreBase64: ${{ secrets.KEYSTORE }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 21
cache: 'gradle'
- name: Build Bundles 📱
run: ./gradlew bundleRelease
- name: Rename APK
run: mv app/build/outputs/bundle/playStoreRelease/app-playStore-release.aab NumberHub.aab
- name: Upload Bundles 🚀
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_STORE_SERVICE_ACCOUNT }}
packageName: app.myzel394.numberhub
releaseFiles: NumberHub.aab
track: production
status: inProgress
userFraction: 0.5