mirror of
https://github.com/actions/setup-node.git
synced 2025-07-27 00:48:24 +02:00
change internal error to warning
This commit is contained in:
parent
62e9de96c2
commit
8a5e1b59e0
5 changed files with 13 additions and 7 deletions
|
@ -111,10 +111,12 @@ export function isCacheFeatureAvailable(): boolean {
|
|||
'Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.'
|
||||
);
|
||||
} else {
|
||||
throw new Error(
|
||||
core.warning(
|
||||
'An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.'
|
||||
);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue