mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 17:23:59 +08:00
Updated error message
This commit is contained in:
parent
164ae74f71
commit
e39391011c
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ async function run(): Promise<void> {
|
|||
|
||||
if (!isExactKeyMatch && core.getInput(Inputs.StrictRestore) == "true") {
|
||||
throw new Error(
|
||||
"Cache with exact key not found, hence exiting the workflow as strict-restore is set to true"
|
||||
"Restored cache doesn't match the key in the input, hence exiting the workflow as strict-restore requirement is not met."
|
||||
);
|
||||
}
|
||||
core.info(`Cache restored from key: ${cacheKey}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue