From cd79e071a471cf7a54c3a3dab8bfe25267de3c61 Mon Sep 17 00:00:00 2001 From: Andrew Wong <42793301+md5sha256@users.noreply.github.com> Date: Mon, 6 May 2024 20:34:21 +1000 Subject: [PATCH] Bump java version in workflows and jitpack --- .github/workflows/gradle.yml | 10 +++++----- jitpack.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 75b56eca..1eb676de 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -11,12 +11,12 @@ jobs: os: ["ubuntu-latest", "windows-latest"] runs-on: "${{ matrix.os }}" steps: - - uses: actions/checkout@v2 - - uses: gradle/wrapper-validation-action@v1.0.4 - - name: Set up JDK 17 - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: gradle/actions/wrapper-validation@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'zulu' cache: 'gradle' - name: Build with Gradle diff --git a/jitpack.yml b/jitpack.yml index 0b66c056..07824455 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,6 +1,6 @@ before_install: - sdk update - - sdk install java 17.0.9-tem - - sdk use java 17.0.9-tem + - sdk install java 21.0.3-tem + - sdk use java 21.0.3-tem install: - ./gradlew build publishToMavenLocal \ No newline at end of file