mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-09 13:41:11 +00:00
change internal error to warning
This commit is contained in:
parent
62e9de96c2
commit
8a5e1b59e0
5 changed files with 13 additions and 7 deletions
3
dist/cache-save/index.js
vendored
3
dist/cache-save/index.js
vendored
|
@ -3884,8 +3884,9 @@ function isCacheFeatureAvailable() {
|
|||
throw new Error('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('An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.');
|
||||
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