Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.
ci: export ANDROID_HOME for self-hosted runs (no local.properties in checkout)
Rishabh Bajpai5fffc43f2992
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 46c5e53..44aca51 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -30,6 +30,14 @@ jobs:steps:- uses: actions/checkout@v4+ # Self-hosted only: the checkout has no local.properties (gitignored),+ # so Gradle needs ANDROID_HOME. GitHub-hosted images set it already.+ - name: Point at BeyondMax Android SDK+ if: runner.environment != 'github-hosted'+ run: |+ echo "ANDROID_HOME=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+ echo "ANDROID_SDK_ROOT=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+- uses: actions/setup-java@v4with:distribution: temurin@@ -106,6 +114,14 @@ jobs:steps:- uses: actions/checkout@v4+ # Self-hosted only (see build job): the checkout has no+ # local.properties, so Gradle and emulator-runner need ANDROID_HOME.+ - name: Point at BeyondMax Android SDK+ if: runner.environment != 'github-hosted'+ run: |+ echo "ANDROID_HOME=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+ echo "ANDROID_SDK_ROOT=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+# GitHub-hosted only: BeyondMax already has KVM + free SDK images.# Running the sudo rm -rf cleanup on self-hosted would damage the host.- name: Free disk space@@ -219,8 +235,17 @@ jobs:steps:- uses: actions/checkout@v4+ # Self-hosted only (see build job): the checkout has no+ # local.properties, so Gradle and emulator-runner need ANDROID_HOME.+ - name: Point at BeyondMax Android SDK+ if: runner.environment != 'github-hosted'+ run: |+ echo "ANDROID_HOME=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+ echo "ANDROID_SDK_ROOT=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+# See the note on the same step in instrumented-smoke.# GitHub-hosted only — never run the sudo rm -rf cleanup on self-hosted.+ # GitHub-hosted only — never run the sudo rm -rf cleanup on self-hosted.- name: Free disk spaceif: runner.environment == 'github-hosted'run: |diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 73d37b1..b9a6003 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -46,6 +46,14 @@ jobs:with:fetch-depth: 0+ # Self-hosted only: the checkout has no local.properties (gitignored),+ # so Gradle needs ANDROID_HOME. GitHub-hosted images set it already.+ - name: Point at BeyondMax Android SDK+ if: runner.environment != 'github-hosted'+ run: |+ echo "ANDROID_HOME=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+ echo "ANDROID_SDK_ROOT=/home/rishabh/Android/Sdk" >> "$GITHUB_ENV"+- name: Read version from app/build.gradle.ktsid: versionrun: |