Skip to content

Merge pull request #71 from keiji/dependabot/gradle/android-app/org.j… #152

Merge pull request #71 from keiji/dependabot/gradle/android-app/org.j…

Merge pull request #71 from keiji/dependabot/gradle/android-app/org.j… #152

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
paths:
- '.github/workflows/**'
- 'android-app/**'
pull_request:
branches: [ "main" ]
paths:
- '.github/workflows/**'
- 'android-app/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/android-app/.gradle/caches
~/android-app/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
working-directory: ./android-app
- name: Build
run: ./gradlew assemble
working-directory: ./android-app
- name: Execute unit-test
run: ./gradlew test
working-directory: ./android-app