From fb66765fd38423ca8439f4625d4b434d8a37e7f4 Mon Sep 17 00:00:00 2001 From: minglipro Date: Fri, 25 Jul 2025 22:17:53 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=20JDK=2024=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 GitHub Actions 工作流程中添加了设置 JDK 24 的步骤 - 使用 actions/setup-java@v4 动作进行 JDK 24 的配置 - 保留了原有的 JDK 8 设置步骤 --- .github/workflows/build.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 23d5173..74480c9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,7 +16,12 @@ jobs: with: java-version: '8' distribution: 'adopt' - + + - name: Set up JDK 24 + uses: actions/setup-java@v4 + with: + java-version: '24' + distribution: 'adopt' - name: build run: |