Skip to content

Update to v0.5.1

Update to v0.5.1 #10

Workflow file for this run

name: Android CD
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Set up JDK 17
uses: actions/setup-java@v1.4.3
with:
java-version: 17
- name: Add google services json file
env:
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
run: echo $GOOGLE_SERVICES > app/google-services.json
- name: Decode signing key
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
run: echo $SIGNING_KEY | base64 -d > "`pwd`/upload.jks"
- name: Deploy release to Google Play
env:
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
ALIAS: ${{ secrets.ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
ANDROID_PUBLISHER_CREDENTIALS: ${{ secrets.ANDROID_PUBLISHER_CREDENTIALS }}
run: |
./gradlew app:publishReleaseBundle \
-Pandroid.injected.signing.store.file="`pwd`/upload.jks" \
-Pandroid.injected.signing.store.password=$KEY_STORE_PASSWORD \
-Pandroid.injected.signing.key.alias=$ALIAS \
-Pandroid.injected.signing.key.password=$KEY_PASSWORD
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false