[CI SKIP] Cache Gradle dependencies for PR build check workflow (#4511)

This commit is contained in:
arkon 2020-10-04 19:29:45 -04:00 committed by GitHub
parent cc700b14d9
commit 1d56cacae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,6 @@
org.gradle.daemon=false
org.gradle.jvmargs=-Xmx5120m
org.gradle.workers.max=2
kotlin.incremental=false
kotlin.compiler.execution.strategy=in-process

View File

@ -11,9 +11,24 @@ jobs:
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Copy CI gradle.properties
run: |
mkdir -p ~/.gradle
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build project
run: ./gradlew assembleDebug
uses: eskatos/gradle-command-action@v1
with:
arguments: assembleDebug
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true