This commit is contained in:
alexcrea 2026-01-10 20:30:08 +01:00
parent 3866b7a4dd
commit 62205085c7
Signed by: alexcrea
GPG key ID: E346CD16413450E3

View file

@ -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