feat: implement cache-dependency-path option to control caching dependency

This commit is contained in:
itchyny 2023-07-25 08:17:29 +09:00
parent 78078da0cd
commit 558c94872e
14 changed files with 278 additions and 59 deletions

View file

@ -36,7 +36,7 @@ jobs:
# Need to avoid using Gradle daemon to stabilize the save process on Windows
# https://github.com/actions/cache/issues/454#issuecomment-840493935
run: |
gradle downloadDependencies --no-daemon -p __tests__/cache/gradle
gradle downloadDependencies --no-daemon -p __tests__/cache/gradle1
if [ ! -d ~/.gradle/caches ]; then
echo "::error::The ~/.gradle/caches directory does not exist unexpectedly"
exit 1