mirror of
https://github.com/actions/setup-python.git
synced 2025-07-05 00:53:46 +00:00
fix: Replace throw with warn
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
This commit is contained in:
parent
8606abc738
commit
13964fee2c
3 changed files with 9 additions and 8 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -67061,7 +67061,8 @@ function isCacheFeatureAvailable() {
|
|||
return true;
|
||||
}
|
||||
if (isGhes()) {
|
||||
throw new Error('Caching is only supported on GHES version >= 3.5. If you are on a version >= 3.5, please check with your GHES admin if the Actions cache service is enabled or not.');
|
||||
core.warning('Caching is only supported on GHES version >= 3.5. If you are on a version >= 3.5, please check with your GHES admin if the 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