From 1c1d9b3c9c9a458a4872e019061aa96c98ecd109 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Mon, 1 Apr 2024 22:32:58 +0200 Subject: [PATCH] chore(ci): build with Java 21 (#288) --- .github/workflows/gradle.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index bd5c4450..bdc26424 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -17,11 +17,11 @@ jobs: with: fetch-depth: 0 - uses: gradle/wrapper-validation-action@v2 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: temurin - java-version: 17 + java-version: 21 cache: 'gradle' - name: Cache SonarCloud packages uses: actions/cache@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c338a36a..828de172 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,11 @@ jobs: packages: write steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: temurin - java-version: 17 + java-version: 21 - name: Build with Gradle run: ./gradlew buildRelease