From fa18a572c04fdd3eb775b82f22e24eed445cf476 Mon Sep 17 00:00:00 2001 From: Kichura <68134602+Kichura@users.noreply.github.com> Date: Wed, 27 Dec 2023 19:47:31 +0100 Subject: [PATCH] Update setup-java to v4, Fix friendly names in CI steps (#660) --- .github/workflows/gradle.yml | 2 +- .github/workflows/publish.yml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 24380b9f..84c8c6b0 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,7 +14,7 @@ jobs: - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 11 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9776da54..a7aba4a3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,10 +10,12 @@ jobs: if: github.repository_owner == 'ViaVersion' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 - - uses: gradle/wrapper-validation-action@v1 + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 17