-
Notifications
You must be signed in to change notification settings - Fork 25
60 lines (54 loc) · 1.81 KB
/
reusable-android-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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
##################################################################################
# About
##################################################################################
# Reuseable workflow to be called from content repos.
# Creates a internal release in play console
#
# Version : 1.0
#
##################################################################################
# Configuration
##################################################################################
env:
APP_ID: ${{vars.APP_ID}}
GOOGLE_PLAY_SERVICE_ACCOUNT_JSON: ${{secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON}}
##################################################################################
# Main Code
##################################################################################
name: Android - Release to Google Play
on:
workflow_call:
secrets:
FIREBASE_SERVICE_ACCOUNT:
required: true
GOOGLE_SERVICES_JSON:
required: true
SIGNING_KEY:
required: true
ALIAS:
required: true
KEY_STORE_PASSWORD:
required: true
KEY_PASSWORD:
required: true
jobs:
build:
uses: ./.github/workflows/reusable-android-build.yml
secrets: inherit
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download Build Artifact
id: download
uses: actions/download-artifact@v4
with:
name: release_bundle
path: ./
- name: Upload to Google play
uses: r0adkll/[email protected]
with:
serviceAccountJsonPlainText: ${{ env.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON}}
packageName: ${{env.APP_ID}}
releaseFiles: ${{steps.download.outputs.download-path}}/app-release.aab
track: internal