From fe64d05f866a9cebd69aa7a46e16217ef639c455 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Tue, 14 Sep 2021 18:07:28 -0600 Subject: [PATCH] Do not cache dependency jars individually Unfortunately, doing this overloads the GitHub actions cache infrastructure leading to failures and unpredictable results. A later solution may re-implement artifact sharing for dependency jars as well as jars within the `caches/jars-9` directory. But for now these will be duplicated across each Gradle User Home cache entry. --- src/cache-gradle-user-home.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cache-gradle-user-home.ts b/src/cache-gradle-user-home.ts index d81302d..e1ac2f4 100644 --- a/src/cache-gradle-user-home.ts +++ b/src/cache-gradle-user-home.ts @@ -24,7 +24,6 @@ const CACHE_PATH = [ // TODO: Allow the user to override / tweak this set const COMMON_ARTIFACT_PATHS = [ '~/.gradle/caches/*/generated-gradle-jars/*.jar', - '~/.gradle/caches/modules-*/files-*/**/*.jar', '~/.gradle/wrapper/dists/*/*/*.zip' ]