From d9fbd4eb2dae22303d86f52885786089eed5486c Mon Sep 17 00:00:00 2001 From: "Josiah (Gaming32) Glosson" Date: Sat, 14 May 2022 09:32:37 -0500 Subject: [PATCH] Fix Java version and build on Java 18 --- .github/workflows/maven.yml | 9 ++++++--- pom.xml | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8ef01cb..5497a5c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,9 +5,12 @@ jobs: build: strategy: matrix: - # Use these Java versions - java: [8, 11, 17] - # and run on both Linux and Windows + java: [ + 8, # LTS + 11, # LTS + 17, # LTS + 18 # Latest + ] os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} if: github.ref != 'refs/heads/gh-pages' diff --git a/pom.xml b/pom.xml index 8a51876..57e0146 100644 --- a/pom.xml +++ b/pom.xml @@ -13,8 +13,8 @@ UTF-8 - 18 - 18 + 1.8 + 1.8