Update dependency com.android.tools.build:gradle to v8.7.2 #150
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: Project Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
# Cache dependencies | |
- name: Cache Gradle packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.OS }}-gradle-cache-${{ hashFiles('**/build.gradle') }} | |
# jdk 17 | |
- name: Set Up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Run test | |
run: ./gradlew check | |
- name: Build | |
run: ./gradlew build |