diff --git a/.github/workflows/android-build-apk.yml b/.github/workflows/android-build-apk.yml new file mode 100644 index 00000000..f5b18a07 --- /dev/null +++ b/.github/workflows/android-build-apk.yml @@ -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 }}