From e64ab303d144824d683711d5c78723c915ff952b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Od=C3=ADn=20del=20R=C3=ADo?= Date: Wed, 13 Jan 2021 22:09:00 +0100 Subject: [PATCH] Improved gradle cache key calculation example --- examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples.md b/examples.md index 14c52c1..efd16b9 100644 --- a/examples.md +++ b/examples.md @@ -140,7 +140,7 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba path: | ~/.gradle/caches ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | ${{ runner.os }}-gradle- ```