From 21fe7cc82d8e7b044d6ee702fc1374bef213c891 Mon Sep 17 00:00:00 2001 From: FlorianMichael Date: Tue, 17 Dec 2024 00:29:36 +0100 Subject: [PATCH] Auto: Migrate to setup-gradle action --- .github/workflows/build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1999784..033a188 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,23 +9,14 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - - name: Validate Gradle Wrapper - uses: gradle/actions/wrapper-validation@v4 + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 17 check-latest: true - - name: Cache Dependencies - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - name: Build with Gradle run: ./gradlew build - name: Upload Artifacts to GitHub