-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1.11 KB
/
release.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
name: Android CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# 1
- name: Checkout code
uses: actions/checkout@v2
#2
- name: Decode Keystore
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: 'app/wingokey.jks'
encodedString: ${{ secrets.RELEASE_KEY_STORE }}
#3
- name: Generate Release App bundle
run: ./gradlew bundleRelease
env:
PRODUCTION_URL: ${{ secrets.PRODUCTION_URL }}
API_KEY: ${{ secrets.API_KEY }}
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
KEY_ALIAS_PASSWORD: ${{ secrets.KEY_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
- name: Deploy to Play Store
id: deploy
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${ { secrets.SERVICE_ACCOUNT } }
packageName: com.nayandhabarde.wingo
releaseFile: app/build/outputs/bundle/release/app-release.aab
track: production
whatsNewDirectory: whatsnew/