Skip to content

Commit 4c2725f

Browse files
authored
Merge pull request #1633 from kubernetes-client/dependabot/github_actions/actions/setup-java-v2
Bump actions/setup-java from v1 to v2
2 parents 96b4ad8 + 44f92ff commit 4c2725f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Setup Java
19-
uses: actions/setup-java@v1
19+
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
@@ -31,8 +32,9 @@ jobs:
3132
steps:
3233
- uses: actions/checkout@v2
3334
- name: Setup Java
34-
uses: actions/setup-java@v1
35+
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]
@@ -76,8 +78,9 @@ jobs:
7678
steps:
7779
- uses: actions/checkout@v2
7880
- name: Setup Java
79-
uses: actions/setup-java@v1
81+
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)