diff --git a/__tests__/util.test.ts b/__tests__/util.test.ts index 659a43b8..d1bfdedf 100644 --- a/__tests__/util.test.ts +++ b/__tests__/util.test.ts @@ -46,7 +46,7 @@ describe('isCacheFeatureAvailable', () => { jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => false); const infoMock = jest.spyOn(core, 'warning'); const message = - 'This runner is not configured to use the cache service. Caching will be skipped'; + 'The runner was not able to contact the cache service. Caching will be skipped'; try { process.env['GITHUB_SERVER_URL'] = 'http://github.com'; expect(isCacheFeatureAvailable()).toBe(false); diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index dbfcf418..54578960 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -9225,7 +9225,7 @@ function isCacheFeatureAvailable() { 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.'); } else { - core.warning('This runner is not configured to use the cache service. Caching will be skipped'); + 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 5bc553b3..b37a8116 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -18851,7 +18851,7 @@ function isCacheFeatureAvailable() { 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.'); } else { - core.warning('This runner is not configured to use the cache service. Caching will be skipped'); + core.warning('The runner was not able to contact the cache service. Caching will be skipped'); } return false; } diff --git a/src/util.ts b/src/util.ts index 4ba71b31..30840ba5 100644 --- a/src/util.ts +++ b/src/util.ts @@ -92,7 +92,7 @@ export function isCacheFeatureAvailable(): boolean { ); } else { core.warning( - 'This runner is not configured to use the cache service. Caching will be skipped' + 'The runner was not able to contact the cache service. Caching will be skipped' ); }