Skip to content

Commit

Permalink
ci: build release
Browse files Browse the repository at this point in the history
  • Loading branch information
joelkoen committed Jun 5, 2024
1 parent 850dacc commit c1ef36a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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}}

0 comments on commit c1ef36a

Please sign in to comment.