diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index a7ca659..e55b9bb 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 1.8 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '8' + java-version: '17' 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 614ee00..8d128b1 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: '8' + java-version: '17' cache: 'maven' server-id: ossrh server-username: MAVEN_USERNAME diff --git a/.github/workflows/maven-snapshot.yml b/.github/workflows/maven-snapshot.yml index 39c0dd4..b567413 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: '8' + java-version: '17' cache: 'maven' server-id: ossrh server-username: MAVEN_USERNAME