-
Notifications
You must be signed in to change notification settings - Fork 215
64 lines (53 loc) · 1.65 KB
/
androidfamily.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
name: Blokada Family for Android (Publish)
on:
workflow_dispatch:
push:
tags:
- android.family.**
env:
main_project_module: app
playstore_name: org.blokada.family
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: 17
- 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 "git@github.com:"
make sixcommon
- name: Build aab
run: make aabfamily
- name: Sign app AAB
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: six-android/app/build/outputs/bundle/familyRelease
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.family
releaseFiles: ${{steps.sign_app.outputs.signedReleaseFile}}
track: internal
status: completed
whatsNewDirectory: six-android/whatsnew