Skip to content

Commit 251a071

Browse files
committed
Build GitHub with Java 17
1 parent 1ed73d0 commit 251a071

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
11-
- name: Set up JDK 1.8
12-
uses: actions/setup-java@v1
10+
- uses: actions/checkout@v4
11+
- name: Set up JDK
12+
uses: actions/setup-java@v4
1313
with:
14-
java-version: 1.8
14+
distribution: corretto
15+
java-version: 17
1516
- name: Build with Maven
1617
run: mvn --batch-mode clean package

0 commit comments

Comments
 (0)