mirror of
https://github.com/actions/setup-node.git
synced 2025-12-15 17:31:39 +08:00
change internal error to warning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user