From 6b8ec56fc0e193c6b963245e6bbc8ad4412f2184 Mon Sep 17 00:00:00 2001 From: Automated workflow Date: Wed, 1 Nov 2023 17:09:50 -0500 Subject: [PATCH] Fixes #84 - Update to Java 21 --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- pom.xml | 10 ++++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24a9eb6..dc43ea6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,9 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Set up Java + - name: Set up Java 21 uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Build with Maven run: mvn -B -DskipTests package diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b08e1b..11fd2a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,10 +9,10 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v1 - - name: Set up Java + - name: Set up Java 21 uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/pom.xml b/pom.xml index 16ef6cb..c052593 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,11 @@ https://github.com/manorrock/guppy/blob/master/LICENSE + + + 21 + UTF-8 + @@ -54,7 +59,7 @@ maven-compiler-plugin true - 17 + ${java.version} @@ -126,9 +131,6 @@ property csv - - UTF-8 - release