From b9eb3bdd0b6c0ac27c53f5dc4c1507c29846c027 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 13:00:29 +0000 Subject: [PATCH] feat: Add GitHub Actions workflow for Android CI build This workflow builds the Android APK on every push and pull request to the main branch. --- .github/workflows/android_ci_build.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/android_ci_build.yml diff --git a/.github/workflows/android_ci_build.yml b/.github/workflows/android_ci_build.yml new file mode 100644 index 00000000000..d5cc1ee27f8 --- /dev/null +++ b/.github/workflows/android_ci_build.yml @@ -0,0 +1,33 @@ +name: Android CI Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Make gradlew executable + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew assembleRelease + + - name: Upload APK + uses: actions/upload-artifact@v4 + with: + name: release-apk + path: app/build/outputs/apk/release/app-release.apk