fix: add logging when failing to restore cache (#127)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Michael Vorburger 2026-01-08 20:48:02 +01:00 committed by GitHub
parent 1bf89734c9
commit 82d28f5023
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 56 additions and 8 deletions

View file

@ -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()
}