Skip to content

ci(android): add debug APK build job - #1

Open
priyanshrv1-oss wants to merge 2 commits into
Androidfrom
capy/add-android-debug-build
Open

ci(android): add debug APK build job#1
priyanshrv1-oss wants to merge 2 commits into
Androidfrom
capy/add-android-debug-build

Conversation

@priyanshrv1-oss

@priyanshrv1-oss priyanshrv1-oss commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Description

This PR adds a GitHub Actions job to build debug APKs for the Android app and fixes a Gradle configuration crash that prevented builds in environments without a release keystore.

Changes

  • opennow-stable/android/app/build.gradle

    • Moved apply plugin statements before android block
    • Wrapped keystore loading in if (keystorePropertiesFile.exists()) conditional
    • Changed keystore path from hardcoded Windows path to rootProject.file("keystore.properties")
    • Release signing config now optional; builds proceed without keystore
  • .github/workflows/auto-build.yml

    • Added build-android job running on ubuntu-latest
    • Set up Node.js 22, Java 21, and npm caching
    • Install npm dependencies, build web assets, and sync Capacitor Android project
    • Install Android SDK platform 36 and build-tools 35.0.0 via sdkmanager
    • Create android/local.properties with SDK path
    • Run ./gradlew assembleDebug and upload APK artifact as opennow-android-debug
    • Job runs independently of existing Electron build matrix

Open in Capy OPEN-1 · Auto

@priyanshrv1-oss priyanshrv1-oss added the capy Generated by capy.ai label Apr 11, 2026 — with Capy AI
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capy Generated by capy.ai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant