Extract cache-reporting into separate file

Cache reporting is self-contained enough that it deserves some separation.
This commit is contained in:
Daz DeBoer 2021-12-07 12:29:37 -07:00
parent 69aad1f173
commit 253d6427fd
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
5 changed files with 129 additions and 126 deletions

View file

@ -5,7 +5,8 @@ import * as core from '@actions/core'
import * as glob from '@actions/glob'
import * as exec from '@actions/exec'
import {AbstractCache, CacheEntryListener, CacheListener} from './cache-base'
import {AbstractCache} from './cache-base'
import {CacheEntryListener, CacheListener} from './cache-reporting'
import {getCacheKeyPrefix, hashFileNames, tryDelete} from './cache-utils'
const META_FILE_DIR = '.gradle-build-action'