SamDNX's picture
Android: commit Gradle 8.7 wrapper; APK verified building
564f335
Raw
History Blame Contribute Delete
1.05 kB
name: Build Android APK
# Builds the debug APK in the cloud — no local Android Studio / SDK needed.
# Download the APK from the run's "Artifacts" once it finishes.
on:
push:
paths:
- "android/**"
- ".github/workflows/android.yml"
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
- name: Download MediaPipe model into assets
run: bash fetch_model.sh
working-directory: android
- name: Build debug APK
run: ./gradlew assembleDebug --no-daemon --stacktrace
working-directory: android
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: lsf-interpreter-debug-apk
path: android/app/build/outputs/apk/debug/app-debug.apk
if-no-files-found: error