From 78e27c736aeef9ffba7300657c3e2ace90e7878f Mon Sep 17 00:00:00 2001 From: alexcrea Date: Thu, 16 Jul 2026 20:11:24 +0200 Subject: [PATCH] trying better cache --- .github/workflows/gradle.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 1b23e216..d8c8fc7f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -40,11 +40,10 @@ jobs: distribution: 'temurin' cache: gradle - - name: Cache Gradle root and wrapper + - name: Cache Gradle wrapper uses: actions/cache@v3 with: path: | - ~/.gradle/caches ~/.gradle/wrapper key: gradle-root-${{ runner.os }}-${{ hashFiles('build.gradle*') }} restore-keys: gradle-root-${{ runner.os }}- @@ -54,7 +53,7 @@ jobs: uses: actions/cache@v3 with: path: | - ./nms/*/.gradle/caches/paperweight + ./*/.gradle/caches/paperweight key: paperweight-submodules-${{ runner.os }}-${{ hashFiles('nms/*/build.gradle*') }} restore-keys: | paperweight-submodules-${{ runner.os }}- @@ -63,6 +62,8 @@ jobs: # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - name: Setup Gradle uses: gradle/actions/setup-gradle@v5 + with: + cache-provider: basic - name: Make gradlew executable run: chmod +x ./gradlew