Skip to content

Commit 4dd9e21

Browse files
committed
Improved java setup.
1 parent acf72bd commit 4dd9e21

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121
- name: Set up JDK 11
22-
uses: actions/setup-java@v1
22+
uses: actions/setup-java@v2
2323
with:
24-
java-version: 11
24+
distribution: 'temurin'
25+
java-version: '11'
26+
cache: 'gradle'
2527
- uses: actions/cache@v1
2628
with:
2729
path: ~/.gradle/caches

0 commit comments

Comments
 (0)