diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3eb496f..2073f9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: id: cache_key run: echo "gradle_key=gradle-`cat versions/mainProject`" >> $GITHUB_OUTPUT - name: Cache Gradle stuff - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ steps.cache_key.outputs.gradle_key }}-${{ hashFiles('*.gradle.kts', 'gradle.properties', 'gradle/**') }} restore-keys: ${{ steps.cache_key.outputs.gradle_key }}- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72364ef..1993f07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: id: cache_key run: echo "gradle_key=gradle-`cat versions/mainProject`" >> $GITHUB_OUTPUT - name: Cache Gradle stuff - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ steps.cache_key.outputs.gradle_key }}-${{ hashFiles('*.gradle.kts', 'gradle.properties', 'gradle/**') }} restore-keys: ${{ steps.cache_key.outputs.gradle_key }}-