mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-27 01:59:02 +08:00
Log cache entry on save
This commit is contained in:
parent
d432f2086c
commit
a63892c289
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 New Issue
Block a user