From e949e3d56d30a0db8378cc1e63b1cef0f7068e7c Mon Sep 17 00:00:00 2001 From: Peter253545 <58088721+Peter253545@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:58:16 +0100 Subject: [PATCH] fix: java version in gh action --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2eaf8cb..1af0979 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,10 @@ jobs: uses: actions/checkout@v2 - name: Validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: Setup JDK 17 + - name: Setup JDK 21 uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Ensure gradlew is executable run: chmod +x ./gradlew - name: Build with gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 043b52a..308d353 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 - name: Grant execute permission for gradlew run: chmod +x gradlew