From 7827802b4884c42832ad5e01f86ab0cf23177172 Mon Sep 17 00:00:00 2001 From: comp500 Date: Mon, 10 Jun 2024 19:51:35 +0100 Subject: [PATCH] Update Java version in Github Actions --- .github/workflows/push.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 217b4ad..20ceb5a 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -7,13 +7,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: gradle - name: Build with Gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6dc8090..2f63e96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,13 +16,13 @@ jobs: url: https://modrinth.com/mod/indium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: gradle - name: Publish with Gradle