mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-05 07:46:11 +02:00
Log cache entry on save
This commit is contained in:
parent
d432f2086c
commit
a63892c289
4 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue