This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
Merge pull request #425 from admin-ch/release/version-4.10.0 #1105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Wallet PROD | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Build with Gradle | |
uses: ./.github/actions/gradle_docker | |
with: | |
gradle-cmd: wallet:assembleProdRelease -PkeystorePassword=${{secrets.KEYSTORE_PASSWORD}} -PkeyAliasPassword=${{secrets.KEY_ALIAS_PASSWORD}} | |
- name: upload artefact to App Center | |
uses: wzieba/AppCenter-Github-Action@8db6b765c4d7ce337bd783ea986f17ce0c9a9e85 | |
with: | |
appName: ${{secrets.APPCENTER_ORGANIZATION}}/${{secrets.APPCENTER_WALLET_APP}} | |
token: ${{secrets.APPCENTER_API_TOKEN}} | |
group: public | |
file: wallet/build/outputs/apk/prod/release/wallet-prod-release.apk | |
- name: Upload APK | |
uses: actions/[email protected] | |
with: | |
name: wallet.apk | |
path: wallet/build/outputs/apk/prod/release/wallet-prod-release.apk |