mirror of
https://github.com/google-ai-edge/gallery.git
synced 2025-07-13 09:52:03 -04:00
Create a workflow for building android apk
This commit is contained in:
parent
27b95e7c05
commit
bf3c5fbab2
1 changed files with 25 additions and 0 deletions
25
.github/workflows/build_android.yml
vendored
Normal file
25
.github/workflows/build_android.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue