diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml
index 53a6c56..bc26a38 100644
--- a/.github/workflows/build-pr.yml
+++ b/.github/workflows/build-pr.yml
@@ -9,8 +9,9 @@ jobs:
with:
submodules: recursive
- name: Set up JDK
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v3
with:
- java-version: '11'
+ java-version: '17'
+ distribution: 'temurin'
- name: Build project with Maven
run: mvn -B -ntp install
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 282659f..2a0e859 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,9 +11,10 @@ jobs:
with:
submodules: recursive
- name: Set up JDK
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v3
with:
- java-version: '11'
+ java-version: '17'
+ distribution: 'temurin'
- name: Build project with Maven
run: mvn -B -ntp install
- name: Deploy to OSSRH
diff --git a/pom.xml b/pom.xml
index d23704b..f331524 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
io.github.m-m-m
mmm
- 18
+ 20
../parent/pom.xml
mmm-validation-parent
@@ -16,7 +16,6 @@
validation
- 0-SNAPSHOT