From bd0273d7e87eef6c36aef14ff09abeb0f6855900 Mon Sep 17 00:00:00 2001 From: 5ec1cff Date: Tue, 14 Jan 2025 22:13:30 +0800 Subject: [PATCH] use java 21 --- .github/workflows/build-debug.yaml | 4 ++-- .github/workflows/build-pre-release.yaml | 4 ++-- .github/workflows/build-release.yaml | 4 ++-- .github/workflows/update-dependencies.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml index da1ebc5c..0474715b 100644 --- a/.github/workflows/build-debug.yaml +++ b/.github/workflows/build-debug.yaml @@ -20,8 +20,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 17 + distribution: "temurin" + java-version: 21 - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 diff --git a/.github/workflows/build-pre-release.yaml b/.github/workflows/build-pre-release.yaml index 8e8c8886..e0e04cf6 100644 --- a/.github/workflows/build-pre-release.yaml +++ b/.github/workflows/build-pre-release.yaml @@ -19,8 +19,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 17 + distribution: "temurin" + java-version: 21 - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 16c98a45..04ccd5fd 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -22,8 +22,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 17 + distribution: "temurin" + java-version: 21 - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 diff --git a/.github/workflows/update-dependencies.yaml b/.github/workflows/update-dependencies.yaml index 476489f6..2624f5e1 100644 --- a/.github/workflows/update-dependencies.yaml +++ b/.github/workflows/update-dependencies.yaml @@ -18,8 +18,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: 'zulu' - java-version: 17 + distribution: "temurin" + java-version: 21 - name: Setup Go uses: actions/setup-go@v5