From bf3c5fbab2abaea2329fea73b0f7a3f8e068b3c3 Mon Sep 17 00:00:00 2001 From: Jing Jin <8752427+jinjingforever@users.noreply.github.com> Date: Wed, 11 Jun 2025 16:40:44 -0700 Subject: [PATCH] Create a workflow for building android apk --- .github/workflows/build_android.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build_android.yml diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml new file mode 100644 index 0000000..feed53b --- /dev/null +++ b/.github/workflows/build_android.yml @@ -0,0 +1,25 @@ +name: Build Android + +on: + workflow_dispatch: + push: + branches: [ "main" ] + paths: + - 'Android/**' + pull_request: + branches: [ "main" ] + paths: + - 'Android/**' + +jobs: + build_apk: + name: Build APK + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./Android + steps: + - name: Checkout the source code + uses: actions/checkout@v3 + - name: Build + run: ./gradlew assembleRelease