mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 11:47:04 +05:30
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: Release to Google Play
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
jobs:
|
|
publish-google-play-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # tag=v3.6.0
|
|
with:
|
|
distribution: temurin
|
|
java-version: 18
|
|
|
|
- name: Decrypt secrets
|
|
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
|
env:
|
|
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
|
|
|
|
- name: Build release bundle
|
|
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # tag=v2.3.3
|
|
with:
|
|
arguments: collectReleaseBundle
|
|
gradle-home-cache-cleanup: true
|
|
cache-read-only: true
|
|
|
|
- name: Publish bundle to Google Play
|
|
uses: r0adkll/upload-google-play@78c9e796b1035c94169c101d8e46cb880194bfc3 # tag=v1.0.19
|
|
with:
|
|
mappingFile: android/bundle/mapping.txt
|
|
packageName: dev.msfjarvis.claw.android
|
|
releaseFiles: android/bundle/*.aab
|
|
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
|
|
status: completed
|
|
track: production
|
|
whatsNewDirectory: distribution/whatsnew
|
|
|
|
- name: Clean secrets
|
|
run: scripts/signing-cleanup.sh
|