mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-10-20 18:56:25 +00:00
ci: fix Play Store workflow for AAB submission
- Switch from assembleReleaseMarket (APK) to bundleReleaseMarket (AAB) Google Play requires AAB for new app submissions since August 2021 - Add bundle and mapping artifact uploads to reusable build workflow - Fix mapping file path: release → releaseMarket - Remove debugSymbols (not included in build artifact) - Remove userFraction (incompatible with draft status) - Remove whatsnew-ku (Play Store does not support Kurdish locale) - Add if-no-files-found: ignore to APK upload for bundle-only builds
This commit is contained in:
1 parent
7a1e7d8270
commit
e13cb18576
3 files changed
+36
-21
No files matched your search
@@ -212,3 +212,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ inputs.upload-name }}
|
name: ${{ inputs.upload-name }}
|
||||||
path: app/build/outputs/apk/
|
path: app/build/outputs/apk/
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
|
- name: ➡️ Upload bundle artifacts
|
||||||
|
if: ${{ !startsWith(inputs.gradlew-command, 'false') }}
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.upload-name }}-bundle
|
||||||
|
path: app/build/outputs/bundle/
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
|
- name: ➡️ Upload mapping file
|
||||||
|
if: ${{ !startsWith(inputs.gradlew-command, 'false') }}
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.upload-name }}-mapping
|
||||||
|
path: app/build/outputs/mapping/
|
||||||
|
if-no-files-found: ignore
|
||||||
@@ -4,9 +4,9 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
app_version:
|
app_version:
|
||||||
description: 'Version of application'
|
description: 'Version of application (e.g. v1.0.0)'
|
||||||
required: true
|
required: true
|
||||||
default: v*.*.*
|
default: v1.0.0
|
||||||
branch:
|
branch:
|
||||||
description: 'From which branch the application will be built'
|
description: 'From which branch the application will be built'
|
||||||
required: true
|
required: true
|
||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.inputs.branch }}
|
branch: ${{ github.event.inputs.branch }}
|
||||||
gradlew-command: assembleReleaseMarket
|
gradlew-command: bundleReleaseMarket
|
||||||
keystore-file-name: market_key.jks
|
keystore-file-name: market_key.jks
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
@@ -32,25 +32,30 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
envFilePath: .github/workflows/variables/android.env
|
envFilePath: .github/workflows/variables/android.env
|
||||||
|
|
||||||
- name: Download built artifact
|
- name: Download bundle artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: apk
|
name: apk-bundle
|
||||||
path: app
|
path: app/bundle
|
||||||
|
|
||||||
|
- name: Download mapping artifact
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: apk-mapping
|
||||||
|
path: app/mapping
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Rename artifacts
|
- name: Rename artifacts
|
||||||
run: mv app/releaseMarket/app-releaseMarket.apk app/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.apk
|
run: mv app/bundle/releaseMarket/app-releaseMarket.aab app/bundle/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.aab
|
||||||
|
|
||||||
- name: Market publication
|
- name: Market publication
|
||||||
uses: r0adkll/upload-google-play@v1
|
uses: r0adkll/upload-google-play@v1
|
||||||
with:
|
with:
|
||||||
serviceAccountJsonPlainText: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
|
serviceAccountJsonPlainText: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
|
||||||
packageName: io.pezkuwichain.wallet
|
packageName: io.pezkuwichain.wallet
|
||||||
releaseFiles: app/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.apk
|
releaseFiles: app/bundle/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.aab
|
||||||
track: production # One of production, beta, alpha, internalsharing, internal, or a custom track name (case sensitive)
|
track: production
|
||||||
status: draft # One of "completed", "inProgress", "halted", "draft"
|
status: draft
|
||||||
inAppUpdatePriority: 2
|
inAppUpdatePriority: 2
|
||||||
userFraction: 1.0 # Percentage of users who should get the staged version of the app. Defaults to 1.0
|
whatsNewDirectory: distribution/whatsnew
|
||||||
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/mapping/releaseMarket/mapping.txt
|
||||||
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
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
Pezkuwi Wallet - Deriyê we yê ekosîstema blockchain a Pezkuwi.
|
|
||||||
|
|
||||||
- Şandin û wergirtina tokenên HEZ
|
|
||||||
- Staking bi riya nomination pool li ser Asset Hub
|
|
||||||
- Panela Pezkuwi ya ku rol û pûana pêbaweriyê nîşan dide
|
|
||||||
- Piştgiriya pir-zincîran ji bo ekosîstema Polkadot
|
|
||||||
- Birêvebirina hesabê ewledar bi erêkirina biyometrîk
|
|
||||||
Reference in new issue
Block a user