-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (45 loc) · 1.57 KB
/
android-ci.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Android Build CI
on:
pull_request:
branches:
- master
# push:
# branches:
# - master
workflow_dispatch:
jobs:
ci:
name: build ci
runs-on: macos-12
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build Project
run: ./gradlew build
- name: Build Release AAB
run: ./gradlew bundleRelease
- name: Sign AAB
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGN_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.STORE_KEY_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
#
# - name: Deploy to Play Store
# uses: r0adkll/upload-google-play@v1
# with:
# serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT}}
# packageName: com.developer.pythonapp
# releaseFiles: app/build/outputs/bundle/release/app-release.aab
# track: production
# status: completed