Skip to content

Commit

Permalink
add android demo action
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Dec 22, 2023
1 parent 3af628a commit 2e5673f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/android-demos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Android Demos

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- '.github/workflows/android-demos.yml'
- 'demo/android/**'
- '!demo/android/LeopardDemo/README.md'
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/android-demos.yml'
- 'demo/android/**'
- '!demo/android/LeopardDemo/README.md'

jobs:
build-leopard-demo:
runs-on: ubuntu-latest
defaults:
run:
working-directory: demo/android/LeopardDemo

steps:
- uses: actions/checkout@v3

- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'

- name: Build
run: ./gradlew assembleDebug

0 comments on commit 2e5673f

Please sign in to comment.