This repository was archived by the owner on Jul 10, 2025. It is now read-only.
Add build workflows for Android sample apps #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow name | |
name: Build BasicGestureDetect | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
working-directory: ./BasicGestureDetect | |
- name: Build BasicGestureDetect app | |
working-directory: ./BasicGestureDetect | |
run: ./gradlew Application:assembleDebug |