mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-23 15:22:17 -05:00
Log cache entry on save
This commit is contained in:
parent
d432f2086c
commit
a63892c289
4 changed files with 6 additions and 2 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -86,6 +86,8 @@ export async function cacheConfiguration(): Promise<void> {
|
|||
return
|
||||
}
|
||||
|
||||
core.info(`Will cache configuration with key ${cacheKey}`)
|
||||
|
||||
try {
|
||||
await cache.saveCache([cachePath], cacheKey)
|
||||
} catch (error) {
|
||||
|
|
|
@ -73,6 +73,8 @@ export async function cacheDependencies(): Promise<void> {
|
|||
return
|
||||
}
|
||||
|
||||
core.info(`Will cache dependencies with key ${cacheKey}`)
|
||||
|
||||
try {
|
||||
await cache.saveCache([cachePath], cacheKey)
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in a new issue