From 0548bf56bd444a95e1d78a9af70c09d2045291d0 Mon Sep 17 00:00:00 2001 From: jansel Date: Wed, 11 Dec 2024 21:24:21 +0000 Subject: [PATCH] pls let the caching work --- .github/workflows/root.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml index 158fa07..4df8a38 100644 --- a/.github/workflows/root.yml +++ b/.github/workflows/root.yml @@ -28,7 +28,7 @@ jobs: distribution: temurin - name: Gradle Cache - uses: actions/cache@v4 + uses: actions/cache/restore@v4 with: path: | ~/.gradle/caches @@ -44,14 +44,12 @@ jobs: run: "./gradlew build" - name: Gradle Cache - uses: actions/cache@v4 + uses: actions/cache/save@v4 with: path: | ~/.gradle/caches ~/.gradle/wrapper key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - name: Login to Gitea Registry uses: docker/login-action@v3