Update to Java 21 for Maven Build

Fixxes error in Github
This commit is contained in:
colaman90 2024-09-08 10:26:56 +02:00
parent 5726c09913
commit 378754d8b5

View File

@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
java-version: 21
- name: Build with Maven
run: mvn -B package --file pom.xml