test github action #3
This file contains 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
name: Build Test | |
on: | |
push: | |
branches: | |
- 'task/**' | |
jobs: | |
build-test: | |
runs-on: Standard GitHub-hosted runners | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: '17' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Chmod permissions | |
run: sudo chmod +x ./gradlew | |
- name: Setup Gradle Cache | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-home-cache-cleanup: true | |
cache-read-only: false | |
# Run instrumentation tests here | |
- name: API Wrapper Sample Assemble builds | |
run: ./gradlew wrappers-sample:assembleRelease |