diff --git a/.github/workflows/build_pr.yaml b/.github/workflows/build_pr.yaml index 4bb9901..a97f3db 100644 --- a/.github/workflows/build_pr.yaml +++ b/.github/workflows/build_pr.yaml @@ -19,17 +19,9 @@ jobs: with: java-version: 21 distribution: 'temurin' + cache: 'gradle' - name: Gradle wrapper validation - uses: gradle/wrapper-validation-action@v3 - - name: Setup gradle dependency cache - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/.*gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- + uses: gradle/actions/wrapper-validation@v4 - name: Build run: ./gradlew build env: