Improve cache reporting

- More succinct messages for cache-read-only and cache-disabled
- Report on cache-cleanup enabled/disabled status
This commit is contained in:
daz
2024-07-17 18:38:02 -06:00
parent 8d318190ad
commit d92de28b80
2 changed files with 19 additions and 14 deletions

View File

@@ -88,6 +88,7 @@ export async function save(
await daemonController.stopAllDaemons()
if (cacheConfig.isCacheCleanupEnabled()) {
cacheListener.setCacheCleanupEnabled()
core.info('Forcing cache cleanup.')
const cacheCleaner = new CacheCleaner(gradleUserHome, process.env['RUNNER_TEMP']!)
try {