summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-gradle.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-gradle.yml')
-rw-r--r--.github/workflows/test-gradle.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/test-gradle.yml b/.github/workflows/test-gradle.yml
index e6b962a305..ebb142aa6c 100644
--- a/.github/workflows/test-gradle.yml
+++ b/.github/workflows/test-gradle.yml
@@ -19,8 +19,10 @@ jobs:
- name: Set up JDK 1.8
uses: actions/setup-java@v2
- with:
- java-version: 1.8
+ with:
+ distribution: 'adopt'
+ java-version: '8'
+ check-latest: true
- name: Cache Gradle wrapper and dependencies
uses: actions/cache@v2.1.3