From 55b2d9868bbf1d7c92ec7cd307e114007ccd23b8 Mon Sep 17 00:00:00 2001 From: Hei Piao Date: Wed, 1 May 2024 23:18:48 +0800 Subject: [PATCH] Update JDK to 21 Signed-off-by: Hei Piao --- .github/workflows/gradle.yml | 4 ++-- .github/workflows/installer.yml | 4 ++-- jitpack.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 89303a2..6daad82 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 2c694b8..a8ea253 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -26,10 +26,10 @@ jobs: - uses: actions/checkout@v4 with: repository: PillowMC/pillow-install-meta - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Generate installer run: | diff --git a/jitpack.yml b/jitpack.yml index 1e41e00..a202792 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,2 +1,2 @@ jdk: - - openjdk17 \ No newline at end of file + - openjdk21 \ No newline at end of file