From d5dd59be8f04a85cefd0f0c38dedb8c944a0f5ab Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Mon, 5 Feb 2024 18:12:20 -0300 Subject: [PATCH] Bump `maven.compiler.release` to 17 (#119) * Bump `maven.compiler.release` to 17 * Update build.yml * Update release.yml --- .github/workflows/build.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- pom.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) 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 a2f66d8..05e6816 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ true - 11 + 17 ${maven.compiler.release} ${maven.compiler.release} ${maven.compiler.target}