mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-04 09:39:56 -06:00
* chore(deps): update yogeshpaliyal/upload-indus-appstore action to v0.0.6 * Update production.yml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yogesh Choudhary Paliyal <yogeshpaliyal.foss@gmail.com> Co-authored-by: Yogesh Choudhary Paliyal <paliyalyogesh@gmail.com>
88 lines
2.7 KiB
YAML
88 lines
2.7 KiB
YAML
name: Deploy App Play Store
|
|
|
|
on:
|
|
push:
|
|
# branches:
|
|
# - master
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setting up project
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: Build with Gradle
|
|
id: build
|
|
run: ./gradlew build
|
|
|
|
- name: Build Free and Pro Release AAB
|
|
id: buildRelease
|
|
run: ./gradlew bundleRelease
|
|
|
|
- name: Sign Free AAB
|
|
id: signPro
|
|
uses: r0adkll/sign-android-release@fix/bundle-signing
|
|
with:
|
|
releaseDirectory: app/build/outputs/bundle/freeRelease
|
|
signingKeyBase64: ${{ secrets.SIGNING_KEY_WITH_PRO }}
|
|
alias: ${{ secrets.ALIAS }}
|
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
|
|
- name: Sign Pro AAB
|
|
id: sign
|
|
uses: r0adkll/sign-android-release@fix/bundle-signing
|
|
with:
|
|
releaseDirectory: app/build/outputs/bundle/proRelease
|
|
signingKeyBase64: ${{ secrets.SIGNING_KEY_WITH_PRO }}
|
|
alias: pro
|
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
|
|
- name: Create service_account.json
|
|
id: createServiceAccount
|
|
run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json
|
|
|
|
- name: Deploy Free to Play Store (PROD)
|
|
id: deployFreeProd
|
|
uses: r0adkll/upload-google-play@v1.1.3
|
|
with:
|
|
serviceAccountJson: service_account.json
|
|
packageName: com.yogeshpaliyal.keypass
|
|
releaseFiles: app/build/outputs/bundle/freeRelease/*.aab
|
|
track: production
|
|
userFraction: 0.01
|
|
status: inProgress
|
|
whatsNewDirectory: whatsnew/
|
|
|
|
- name: Deploy Pro to Play Store (PROD)
|
|
id: deployProProd
|
|
uses: r0adkll/upload-google-play@v1.1.3
|
|
with:
|
|
serviceAccountJson: service_account.json
|
|
packageName: com.yogeshpaliyal.keypass.pro
|
|
releaseFiles: app/build/outputs/bundle/proRelease/*.aab
|
|
track: production
|
|
userFraction: 0.01
|
|
status: inProgress
|
|
whatsNewDirectory: whatsnew/
|
|
|
|
- name: Deploy Free to Indus App Store
|
|
id: uploadToIndus
|
|
uses: yogeshpaliyal/upload-indus-appstore@v0.0.6
|
|
with:
|
|
type: UPLOAD_AAB
|
|
apiKey: ${{secrets.INDUS_API_KEY}}
|
|
packageName: com.yogeshpaliyal.keypass
|
|
aabFile: app/build/outputs/bundle/freeRelease/*.aab
|
|
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
|
keystoreAlias: ${{ secrets.ALIAS }}
|
|
keystorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|