Merge pull request #51 from takke/dependabot/gradle/androidx.appcompa… #90
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: Android CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# GitHub Actionsのタイムラインの可視化 | |
- uses: Kesin11/actions-timeline@v2 | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: set up JDK 8, 11, 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: | | |
8 | |
11 | |
17 | |
cache: gradle | |
- name: Set up Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Setup Gradle Cacge | |
uses: gradle/gradle-build-action@v3 | |
- name: Make dummy gradle.properties | |
run: (cd app; ./make_plain_gradle_properties.sh) | |
- name: Build debug version with Gradle | |
run: ./gradlew assembleQuad5Debug | |
- name: Unit Test | |
run: ./gradlew test |