Skip to content

Commit 9fd1677

Browse files
committed
Use java 18 for github actions
1 parent a4dce29 commit 9fd1677

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/maven-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 11
19+
- name: Set up JDK 18
2020
uses: actions/setup-java@v1
2121
with:
22-
java-version: 11
22+
java-version: 18
2323
- name: Build with Maven
2424
run: mvn -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml -P github_actions -B package --file pom.xml
2525
env:

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
packages: write
1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Set up JDK 11
18+
- name: Set up JDK 18
1919
uses: actions/setup-java@v2
2020
with:
21-
java-version: '11'
21+
java-version: '18'
2222
distribution: 'adopt'
2323
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2424

0 commit comments

Comments
 (0)