Allow cache debug logging to be selectively enabled

- Move more messages out of main 'info' log
- Only log cache entry size when debugging
- Process cache entries sequentially when debugging
This commit is contained in:
Daz DeBoer 2021-09-12 14:08:22 -06:00
parent 7dfbe33bba
commit 1c72a31463
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 36 additions and 10 deletions

View file

@ -8,6 +8,7 @@ on:
env:
CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}-
CACHE_DEBUG_ENABLED: true
jobs:
# Use kotlin-dsl project to verify caching of generated jars and compiled scripts
@ -34,4 +35,3 @@ jobs:
with:
build-root-directory: __tests__/samples/kotlin-dsl
arguments: test --offline
gradle-cache-enabled: read-only