Skip to content

Commit 44f92ff

Browse files
committed
pin distribution: 'adopt' for java v2
1 parent 55b0c1c commit 44f92ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- name: Setup Java
1919
uses: actions/setup-java@v2
2020
with:
21+
distribution: 'adopt'
2122
java-version: 8.0.x
2223
- name: Verify Format and License
2324
run: mvn spotless:check
@@ -33,6 +34,7 @@ jobs:
3334
- name: Setup Java
3435
uses: actions/setup-java@v2
3536
with:
37+
distribution: 'adopt'
3638
java-version: ${{ matrix.java }}
3739
- name: Cache local Maven repository
3840
uses: actions/[email protected]
@@ -78,6 +80,7 @@ jobs:
7880
- name: Setup Java
7981
uses: actions/setup-java@v2
8082
with:
83+
distribution: 'adopt'
8184
java-version: 11.0.x
8285
- name: Cache local Maven repository
8386
uses: actions/[email protected]

0 commit comments

Comments
 (0)