From d3fa8e9a0b4eea51c876cfd2de93b3fb269ea0eb Mon Sep 17 00:00:00 2001 From: "Christian F." Date: Tue, 17 Oct 2023 14:46:40 +0200 Subject: [PATCH] - switch to Java 21 --- .github/workflows/build.yml | 4 ++-- .github/workflows/nightly.yml | 8 ++++---- .github/workflows/release.yml | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99725433b6..c66b3b661f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: distribution: 'zulu' - java-version: '20' + java-version: '21' java-package: jdk - name: Cache local Maven repository uses: actions/cache@v3 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d0d24478d6..67f4d713fd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -18,11 +18,11 @@ jobs: id: check-if-changed with: paths: .github/workflows src/ res/ pom.xml .install4j/ .mvn/ - - name: Set up JDK 20 + - name: Set up JDK 21 if: steps.check-if-changed.outputs.changed == 'true' uses: actions/setup-java@v1 with: - java-version: 20 + java-version: 21 - name: Cache local Maven repository if: steps.check-if-changed.outputs.changed == 'true' @@ -73,10 +73,10 @@ jobs: - uses: actions/checkout@v2 with: ref: develop - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v1 with: - java-version: 20 + java-version: 21 - uses: AdoptOpenJDK/install-jdk@v1 with: version: '8' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f525af69e3..1955c874e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,11 @@ jobs: id: check-if-changed with: paths: .github/workflows src/ res/ pom.xml .install4j/ .mvn/ - - name: Set up JDK 20 + - name: Set up JDK 21 if: steps.check-if-changed.outputs.changed == 'true' uses: actions/setup-java@v1 with: - java-version: 20 + java-version: 21 - name: Cache local Maven repository if: steps.check-if-changed.outputs.changed == 'true' @@ -74,11 +74,11 @@ jobs: - uses: actions/checkout@v2 with: ref: develop - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: #distribution: 'temurin' - java-version: '20' + java-version: 21 - uses: AdoptOpenJDK/install-jdk@v1 with: version: '8' @@ -125,10 +125,10 @@ jobs: - uses: actions/checkout@v2 with: ref: develop - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v1 with: - java-version: 20 + java-version: 21 - name: Get version run: echo "VERSION=$( ./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout )" >> $GITHUB_ENV - uses: actions/download-artifact@v2