mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-09-12 10:42:23 +08:00
Log cache entry on save
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user