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