From 0b13e3aaf08d12b8ca8cfc391851e73351743f0d Mon Sep 17 00:00:00 2001 From: DaiYuANg <138393979+DaiYuANg@users.noreply.github.com> Date: Sat, 7 Dec 2024 11:05:29 +0800 Subject: [PATCH] build(github): update setup java distribution --- .github/workflows/javafx-gradle-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/javafx-gradle-build.yml b/.github/workflows/javafx-gradle-build.yml index 5614baa..72a5a08 100644 --- a/.github/workflows/javafx-gradle-build.yml +++ b/.github/workflows/javafx-gradle-build.yml @@ -21,7 +21,8 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '21' # 设置 JDK 版本,JavaFX 需要 JDK 17 及以上版本 + java-version: '21' + distribution: "graalvm" - name: Cache Gradle dependencies uses: actions/cache@v3