fix: add logging when failing to restore cache (#127)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
1bf89734c9
commit
82d28f5023
5 changed files with 56 additions and 8 deletions
2
index.js
2
index.js
|
|
@ -178,6 +178,8 @@ async function restoreCache(cacheConfig) {
|
|||
} else {
|
||||
core.info(`Failed to restore ${name} cache`)
|
||||
}
|
||||
} catch (err) {
|
||||
core.warning(`Failed to restore ${name} cache with error: ${err}`)
|
||||
} finally {
|
||||
core.endGroup()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue