From 00828cfab83c24d3e59fe8f3d43d72300c13ac9c Mon Sep 17 00:00:00 2001 From: nbschultz97 <126931519+nbschultz97@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:25:18 -0600 Subject: [PATCH] Add Android CI workflow with Android SDK setup --- .github/workflows/android-ci.yml | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/android-ci.yml diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml new file mode 100644 index 0000000..4a1922e --- /dev/null +++ b/.github/workflows/android-ci.yml @@ -0,0 +1,36 @@ +--- +name: Android CI + +'on': + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: '17' + cache: 'gradle' + + - name: Set up Android SDK + uses: android-actions/setup-android@v3 + with: + api-levels: 34 + build-tools: '34.0.0' + + - name: Build Debug APK + run: ./gradlew assembleDebug + + - name: Upload Debug APK + uses: actions/upload-artifact@v4 + with: + name: app-debug-apk + path: app/build/outputs/apk/debug/app-debug.apk