diff --git a/__tests__/cache-utils.test.ts b/__tests__/cache-utils.test.ts index 58afa43c..d8934eba 100644 --- a/__tests__/cache-utils.test.ts +++ b/__tests__/cache-utils.test.ts @@ -56,7 +56,7 @@ describe('cache-utils', () => { process.env['GITHUB_SERVER_URL'] = ''; isCacheFeatureAvailable(); expect(warningSpy).toHaveBeenCalledWith( - 'An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.' + 'The runner was not able to contact the cache service. Caching will be skipped' ); }); diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 67ea6d63..19692cf2 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -687,7 +687,7 @@ describe('setup-node', () => { await main.run(); expect(warningSpy).toHaveBeenCalledWith( - 'An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.' + 'The runner was not able to contact the cache service. Caching will be skipped' ); }); }); diff --git a/dist/cache-save/index.js b/dist/cache-save/index.js index eea2a47f..5836c4a0 100644 --- a/dist/cache-save/index.js +++ b/dist/cache-save/index.js @@ -3884,7 +3884,7 @@ 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 { - core.warning('An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.'); + core.warning('The runner was not able to contact the cache service. Caching will be skipped'); } return false; } diff --git a/dist/setup/index.js b/dist/setup/index.js index 5bd90061..19df95db 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -46137,7 +46137,7 @@ 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 { - core.warning('An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.'); + core.warning('The runner was not able to contact the cache service. Caching will be skipped'); } return false; } diff --git a/src/cache-utils.ts b/src/cache-utils.ts index 1f5659f2..b71bcc8a 100644 --- a/src/cache-utils.ts +++ b/src/cache-utils.ts @@ -112,7 +112,7 @@ export function isCacheFeatureAvailable(): boolean { ); } else { core.warning( - 'An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.' + 'The runner was not able to contact the cache service. Caching will be skipped' ); }