Merge pull request #116 from google-ai-edge/workflow

Create a workflow for building android apk
This commit is contained in:
Jing Jin 2025-06-11 16:43:06 -07:00 committed by GitHub
commit 7a52984110
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.github/workflows/build_android.yaml 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