From 62205085c716c5f40e4a1a8d3a6f1a88dddd520f Mon Sep 17 00:00:00 2001 From: alexcrea Date: Sat, 10 Jan 2026 20:30:08 +0100 Subject: [PATCH] aaaaa --- .github/workflows/gradle.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 4f69fb4..1b003f8 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -35,15 +35,24 @@ jobs: distribution: 'temurin' cache: gradle + - name: Cache Gradle root and 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 }}- + # Setup paperweight cache - - name: Setup paperweight cache + - name: Cache paperweight uses: actions/cache@v3 with: path: | ./nms/*/.gradle/caches/paperweight - key: gradle-submodules-${{ runner.os }}-${{ hashFiles('nms/*/build.gradle*') }} + key: paperweight-submodules-${{ runner.os }}-${{ hashFiles('nms/*/build.gradle*') }} restore-keys: | - gradle-submodules-${{ runner.os }}- + paperweight-submodules-${{ runner.os }}- # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md