Skip to content

Commit

Permalink
Build APK workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moneytoo committed Dec 14, 2024
1 parent ffadde9 commit 5985d19
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/android-build-apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Android Build APK

on:
workflow_dispatch:
push:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: gradle

- run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > ${GITHUB_WORKSPACE}/keystore.jks

- run: ./gradlew assembleLatestUniversalFull -Pandroid.injected.signing.store.file=${GITHUB_WORKSPACE}/keystore.jks -Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PASSWORD }} -Pandroid.injected.signing.key.alias=key -Pandroid.injected.signing.key.password=${{ secrets.KEYSTORE_PASSWORD }}

0 comments on commit 5985d19

Please sign in to comment.