-
Notifications
You must be signed in to change notification settings - Fork 215
65 lines (54 loc) · 1.66 KB
/
android6.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
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Blokada 6 for Android (Publish)
on:
workflow_dispatch:
push:
tags:
- android.v6.**
env:
main_project_module: app
playstore_name: org.blokada.sex
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./six-android
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Get Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Build common lib
run: |
git config --global url."https://${{ secrets.GIT_TOKEN }}@github.com/".insteadOf "[email protected]:"
make sixcommon
- name: Build aab
run: make aab
- name: Sign app AAB
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: six-android/app/build/outputs/bundle/sixRelease
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Upload to Google Play
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: org.blokada.sex
releaseFiles: ${{steps.sign_app.outputs.signedReleaseFile}}
track: internal
status: completed
changesNotSentForReview: true
whatsNewDirectory: six-android/whatsnew