From 0743f34faa50db185328a08892d631b9b47f8c59 Mon Sep 17 00:00:00 2001
From: Maddie <52103563+maddie480@users.noreply.github.com>
Date: Wed, 27 Mar 2024 13:59:46 +0100
Subject: [PATCH] Bump JDK to 22
---
.github/workflows/maven.yml | 4 ++--
pom.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 7fcfcf1..ba8891c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,10 +32,10 @@ jobs:
find "(" -name "*.java" -or -name "*.xml" -or -name "*.yaml" -or -name "*.yml" -or -name "*.txt" -or -name "*.md" ")" -exec grep -Pl " $" {} \; > matches.txt
grep "" matches.txt && exit 1 || echo "No trailing space found!"
- - name: Set up JDK 21
+ - name: Set up JDK 22
uses: actions/setup-java@v4
with:
- java-version: '21'
+ java-version: '22'
distribution: 'temurin'
cache: maven
diff --git a/pom.xml b/pom.xml
index 3372c64..57b6a4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
0.5.0
- 21
+ 22