mirror of
https://github.com/actions/setup-go.git
synced 2025-06-29 12:43:45 +00:00
fix: Replace throw with warn
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
This commit is contained in:
parent
ec819f6ce5
commit
fff60808d0
4 changed files with 10 additions and 6 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -63148,7 +63148,8 @@ function isCacheFeatureAvailable() {
|
|||
return true;
|
||||
}
|
||||
if (isGhes()) {
|
||||
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.');
|
||||
core.warning('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.');
|
||||
return false;
|
||||
}
|
||||
core.warning('The runner was not able to contact the cache service. Caching will be skipped');
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue