diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f1391d2..8c6a440 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,12 +25,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 cache: 'maven' distribution: 'temurin' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87b6b44..06556d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,11 +30,11 @@ jobs: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 cache: 'maven' server-id: ossrh server-username: MAVEN_USERNAME diff --git a/pom.xml b/pom.xml index fb9f144..295b57f 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ true - 11 + 17 ${maven.compiler.release} ${maven.compiler.release} ${maven.compiler.target}