From e2eef4b29392081064040e1c12bc355ae27ebda4 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Mon, 9 Sep 2024 21:09:45 -0400 Subject: [PATCH] update workflow --- .github/workflows/gradle.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index f025d2d..4cf1b84 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -6,12 +6,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK - uses: actions/setup-java@v2 - with: - distribution: 'temurin' - java-version: '17' + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Setup Java + run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> "$GITHUB_ENV" - name: Validate gradlew integrity uses: gradle/wrapper-validation-action@v1 - name: Cache