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