mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 00:07:05 +05:30
feat(ci): add workflow to publish releases to Google Play
This commit is contained in:
parent
c797853055
commit
22231606cb
1 changed files with 34 additions and 0 deletions
34
.github/workflows/release.yml
vendored
Normal file
34
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
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@v3.1.0
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v3.6.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
|
||||
- name: Build release bundle
|
||||
uses: gradle/gradle-build-action@v2.3.3
|
||||
with:
|
||||
arguments: collectReleaseBundle
|
||||
gradle-home-cache-cleanup: true
|
||||
|
||||
- name: Publish bundle to Google Play
|
||||
uses: r0adkll/upload-google-play@v1
|
||||
with:
|
||||
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
|
||||
packageName: dev.msfjarvis.claw.android
|
||||
releaseFiles: android/bundle/*.aab
|
||||
track: production
|
||||
whatsNewDirectory: distribution/whatsnew
|
||||
mappingFile: android/bundle/mapping.txt
|
Loading…
Add table
Add a link
Reference in a new issue