You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not include the whole Gradle cache in GH Actions caches
We don't need the whole cache, since most (all?) of it is stored on
Develocity already.
Including ./gradle/caches/modules-2 is enough, because that's where
Maven dependencies are stored, and *those* are not stored on Develocity.
(cherry picked from commit 013bb46)
# if it's not a pull request, we restore and save the cache
@@ -73,7 +73,7 @@ jobs:
73
73
path: |
74
74
~/.m2/repository/
75
75
~/.m2/wrapper/
76
-
~/.gradle/caches/
76
+
~/.gradle/caches/modules-2
77
77
~/.gradle/wrapper/
78
78
# A new cache will be stored daily. After that first store of the day, cache save actions will fail because the cache is immutable but it's not a problem.
79
79
# The whole cache is dropped monthly to prevent unlimited growth.
# if it's not a pull request, we restore and save the cache
@@ -82,7 +82,7 @@ jobs:
82
82
path: |
83
83
~/.m2/repository/
84
84
~/.m2/wrapper/
85
-
~/.gradle/caches/
85
+
~/.gradle/caches/modules-2
86
86
~/.gradle/wrapper/
87
87
# A new cache will be stored daily. After that first store of the day, cache save actions will fail because the cache is immutable but it's not a problem.
88
88
# The whole cache is dropped monthly to prevent unlimited growth.
0 commit comments