mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-29 11:40:59 -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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
core.info(`Will cache configuration with key ${cacheKey}`)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await cache.saveCache([cachePath], cacheKey)
|
await cache.saveCache([cachePath], cacheKey)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
@ -73,6 +73,8 @@ export async function cacheDependencies(): Promise<void> {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
core.info(`Will cache dependencies with key ${cacheKey}`)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await cache.saveCache([cachePath], cacheKey)
|
await cache.saveCache([cachePath], cacheKey)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in a new issue