Skip to content

v0.1.5-pre.1

v0.1.5-pre.1 #13

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Build the app
run: ./gradlew assemble
- name: Sign app APK
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: |
app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.SIGNING_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PW }}
keyPassword: ${{ secrets.SIGNING_KEY_PW }}
- name: Upload APK to release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: ${{ github.ref_name }}
automatic_release_name: ${{ github.ref_name }}
draft: ${{ !contains(github.ref, 'tags') }}
prerelease: ${{contains( github.ref_name , '-') }}
files: |
app/build/outputs/apk/release/*.apk