diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index e55b9bb..a513543 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: '21' cache: 'maven' - name: Build with Maven run: mvn -B verify --file pom.xml diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 8d128b1..f28c059 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -19,7 +19,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: '21' cache: 'maven' server-id: ossrh server-username: MAVEN_USERNAME diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index b567413..0b55647 100644 --- a/.github/workflows/maven-snapshot.yml +++ b/.github/workflows/maven-snapshot.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: '21' cache: 'maven' server-id: ossrh server-username: MAVEN_USERNAME