Merge branch 'cacheOnGhes' of github.com:tiwarishub/setup-python into cacheOnGhes

This commit is contained in:
Shubham Tiwari 2022-03-30 01:05:32 +05:30
commit 298ed7cb9e

View file

@ -106,7 +106,7 @@ export function isCacheFeatureAvailable(): boolean {
if (!cache.isFeatureAvailable()) {
if (isGhes()) {
throw new Error(
'Caching 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.'
'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.'
);
} else {
core.warning(