github actions should use Java 21

This commit is contained in:
nossr50 2025-03-09 15:49:59 -07:00
parent b2bf29cae2
commit 571a60f7a7

View File

@ -31,13 +31,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
# 2. Setup Java 17 JDK (Adopt)
- name: Java 17 setup
# 2. Setup Java 21 JDK (Adopt)
- name: Java 21 setup
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-package: jdk
java-version: '17'
java-version: '21'
# 3. Setup local Maven package cache to speed up building
- name: Cache Maven packages