Create a workflow for building android apk

This commit is contained in:
Jing Jin 2025-06-11 16:40:44 -07:00
parent 27b95e7c05
commit bf3c5fbab2

25
.github/workflows/build_android.yml vendored Normal file
View file

@ -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