mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-21 23:48:00 +00:00
a294aa1a6b
Security hardened release: - Code obfuscation enabled (minifyEnabled=true, shrinkResources=true) - Sensitive files excluded (google-services.json, keystores) - Branch.io key moved to BuildConfig placeholder - Updated dependencies: OkHttp 4.12.0, Gson 2.10.1, BouncyCastle 1.77 - Comprehensive ProGuard rules for crypto wallet - Navigation 2.7.7, Lifecycle 2.7.0, ConstraintLayout 2.1.4
57 lines
2.3 KiB
YAML
57 lines
2.3 KiB
YAML
name: Distribute app to Play Store
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
app_version:
|
|
description: 'Version of application'
|
|
required: true
|
|
default: v*.*.*
|
|
branch:
|
|
description: 'From which branch the application will be built'
|
|
required: true
|
|
default: main
|
|
|
|
jobs:
|
|
build:
|
|
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
|
with:
|
|
branch: ${{ github.event.inputs.branch }}
|
|
gradlew-command: assembleReleaseMarket
|
|
keystore-file-name: market_key.jks
|
|
secrets: inherit
|
|
|
|
upload:
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set Environment Variables
|
|
uses: tw3lveparsecs/github-actions-setvars@v0.1
|
|
with:
|
|
envFilePath: .github/workflows/variables/android.env
|
|
|
|
- name: Download built artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: apk
|
|
path: app
|
|
|
|
- name: Rename artifacts
|
|
run: mv app/releaseMarket/app-releaseMarket.apk app/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.apk
|
|
|
|
- name: Market publication
|
|
uses: r0adkll/upload-google-play@v1
|
|
with:
|
|
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} # The contents of your service-account.json
|
|
packageName: io.pezkuwichain.wallet
|
|
releaseFiles: app/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.apk
|
|
track: production # One of production, beta, alpha, internalsharing, internal, or a custom track name (case sensitive)
|
|
status: draft # One of "completed", "inProgress", "halted", "draft"
|
|
inAppUpdatePriority: 2
|
|
userFraction: 1.0 # Percentage of users who should get the staged version of the app. Defaults to 1.0
|
|
whatsNewDirectory: distribution/whatsnew # The directory of localized "whats new" files to upload as the release notes. The files contained in the whatsNewDirectory MUST use the pattern whatsnew-<LOCALE> where LOCALE is using the BCP 47 format
|
|
mappingFile: app/build/outputs/mapping/release/mapping.txt # The mapping.txt file used to de-obfuscate your stack traces from crash reports
|
|
debugSymbols: app/intermediates/merged_native_libs/release/out/lib
|