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
When setting gradle-home-cache-cleanup: true, the action will attempt to remove all unused files from Gradle User Home before saving the state.
When running a build with state loaded from the configuration-cache, many files in Gradle User Home (eg dependency jars) are not necessarily recorded as being used during the build.
Taken together, this means that after a successful build with configuration-cache reuse, the saved Gradle User Home will have no dependencies. This can result in a ClassNotFoundException failure in subsequent builds.
The text was updated successfully, but these errors were encountered:
bigdaz
changed the title
Cache cleanup incompatible with configuration-cache reuse
Cache cleanup is incompatible with configuration-cache reuse
Feb 9, 2024
When setting
gradle-home-cache-cleanup: true
, the action will attempt to remove all unused files from Gradle User Home before saving the state.When running a build with state loaded from the configuration-cache, many files in Gradle User Home (eg dependency jars) are not necessarily recorded as being used during the build.
Taken together, this means that after a successful build with configuration-cache reuse, the saved Gradle User Home will have no dependencies. This can result in a
ClassNotFoundException
failure in subsequent builds.The text was updated successfully, but these errors were encountered: