blob: f34a624a13bf6ca29e19a19d0808780353f39aba [file] [log] [blame]
name: Build APK
on:
push:
branches: ["master"]
workflow_dispatch:
concurrency:
group: "build"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3.9.0
with:
java-version: 11
distribution: adopt
- name: Gradle Build Action
run: ./gradlew :FaceExample:assembleDebug
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: FaceExample-debug.apk
path: FaceExample/build/outputs/apk/debug/FaceExample-debug.apk