mirror of
https://github.com/pachli/pachli-android.git
synced 2024-12-15 02:24:46 +01:00
37d9ac53f7
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [r0adkll/upload-google-play](https://togithub.com/r0adkll/upload-google-play) | action | patch | `v1.1.2` -> `v1.1.3` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>r0adkll/upload-google-play (r0adkll/upload-google-play)</summary> ### [`v1.1.3`](https://togithub.com/r0adkll/upload-google-play/releases/tag/v1.1.3) [Compare Source](https://togithub.com/r0adkll/upload-google-play/compare/v1.1.2...v1.1.3) #### What's Changed - Add instructions to configure service account in README by [@​etabakov](https://togithub.com/etabakov) in [https://github.com/r0adkll/upload-google-play/pull/201](https://togithub.com/r0adkll/upload-google-play/pull/201) - Update dependencies & target node20 by [@​boswelja](https://togithub.com/boswelja) in [https://github.com/r0adkll/upload-google-play/pull/212](https://togithub.com/r0adkll/upload-google-play/pull/212) #### New Contributors - [@​etabakov](https://togithub.com/etabakov) made their first contribution in [https://github.com/r0adkll/upload-google-play/pull/201](https://togithub.com/r0adkll/upload-google-play/pull/201) **Full Changelog**: https://github.com/r0adkll/upload-google-play/compare/v1...v1.1.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/pachli/pachli-android). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
84 lines
2.7 KiB
YAML
84 lines
2.7 KiB
YAML
name: Upload blueRelease to Google Play
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
|
|
- name: Gradle Wrapper Validation
|
|
uses: gradle/wrapper-validation-action@v2
|
|
|
|
- name: Copy CI gradle.properties
|
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
|
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v3
|
|
with:
|
|
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
|
|
|
|
- name: Build GitHub APK
|
|
run: ./gradlew assembleBlueGithubRelease --stacktrace
|
|
|
|
- name: Build Google AAB
|
|
run: ./gradlew :app:bundleBlueGoogleRelease --stacktrace
|
|
|
|
- uses: r0adkll/sign-android-release@v1.0.4
|
|
name: Sign GitHub APK
|
|
id: sign_app_apk
|
|
with:
|
|
releaseDirectory: app/build/outputs/apk/blueGithub/release
|
|
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
|
alias: ${{ secrets.SIGNING_KEY_ALIAS }}
|
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
env:
|
|
BUILD_TOOLS_VERSION: "34.0.0"
|
|
|
|
- uses: r0adkll/sign-android-release@v1.0.4
|
|
name: Sign Google AAB
|
|
id: sign_app_aab
|
|
with:
|
|
releaseDirectory: app/build/outputs/bundle/blueGoogleRelease
|
|
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
|
alias: ${{ secrets.SIGNING_KEY_ALIAS }}
|
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
|
env:
|
|
BUILD_TOOLS_VERSION: "34.0.0"
|
|
|
|
- name: Upload APK Release Asset
|
|
id: upload-release-asset-apk
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: app-release.apk
|
|
path: ${{steps.sign_app_apk.outputs.signedReleaseFile}}
|
|
|
|
- name: Generate whatsnew
|
|
id: generate-whatsnew
|
|
run: |
|
|
mkdir -p googleplay/whatsnew
|
|
cp $(find fastlane/metadata/android/en-US/changelogs | sort -n -k6 -t/ | tail -n 1) googleplay/whatsnew/whatsnew-en-US
|
|
|
|
- name: Upload AAB to Google Play
|
|
id: upload-release-asset-aab
|
|
uses: r0adkll/upload-google-play@v1.1.3
|
|
with:
|
|
serviceAccountJsonPlainText: ${{ secrets.PLAY_SERVICE_ACCOUNT_KEY }}
|
|
packageName: app.pachli
|
|
releaseFiles: ${{steps.sign_app_aab.outputs.signedReleaseFile}}
|
|
track: internal
|
|
whatsNewDirectory: googleplay/whatsnew
|
|
status: completed
|
|
mappingFile: app/build/outputs/mapping/blueGoogleRelease/mapping.txt
|