From 524994db88e116bb9b9e2cf32f0eef216c605711 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 12:04:34 +0000 Subject: [PATCH] ci: Setup GitHub Actions workflow to build and export Android APK Create .github/workflows/build-apk.yml to automatically build the Android project and upload the debug APK artifact on push/PR to main or master and on workflow_dispatch. Co-authored-by: ClausValcaTD <193546948+ClausValcaTD@users.noreply.github.com> --- .github/workflows/build-apk.yml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/build-apk.yml diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml new file mode 100644 index 0000000..45b6c74 --- /dev/null +++ b/.github/workflows/build-apk.yml @@ -0,0 +1,38 @@ +name: Build Android APK + +'on': + push: + branches: + - main + - master + pull_request: + branches: + - main + - master + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Grant execute permissions to gradlew + run: chmod +x gradlew + + - name: Build Debug APK + run: ./gradlew assembleDebug --stacktrace + + - name: Upload Debug APK + uses: actions/upload-artifact@v4 + with: + name: LibreCast-Receiver-Debug-APK + path: app/build/outputs/apk/debug/app-debug.apk