Skip to content

Build release

Build release #1

Workflow file for this run

# SPDX-FileCopyrightText: 2024, Joel Koen
# SPDX-License-Identifier: CC0-1.0
name: Build
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: ./gradlew --no-daemon assembleRelease
- id: sign_aab
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEYSTORE }}
alias: ${{ secrets.SIGNING_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.SIGNING_ALIAS_PASSWORD }}
- uses: actions/upload-artifact@v4
with:
name: release-apk
path: ${{steps.sign_aab.outputs.signedReleaseFile}}