Skip to content

Commit cc1c2a2

Browse files
committed
ci: Change version for automatic compiling to java 17
1 parent 1cea1ba commit cc1c2a2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ jobs:
77
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout repo
11-
uses: actions/checkout@v2
12-
- name: Set up JDK 1.8
13-
uses: actions/setup-java@v1
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-java@v3
1412
with:
15-
java-version: 1.8
13+
java-version: '17'
14+
distribution: 'temurin'
1615
- name: Build with Maven
1716
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)