From 770facace50348cf80b747ab3ded7ff2b7e451e2 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Thu, 24 Mar 2022 15:11:17 +0530 Subject: [PATCH] changed name --- __tests__/actionUtils.test.ts | 2 +- src/utils/actionUtils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/actionUtils.test.ts b/__tests__/actionUtils.test.ts index 08891a0..e6c6b7e 100644 --- a/__tests__/actionUtils.test.ts +++ b/__tests__/actionUtils.test.ts @@ -244,7 +244,7 @@ test("isCacheFeatureAvailable for ac enabled", () => { test("isCacheFeatureAvailable for ac disabled on GHES", () => { jest.spyOn(cache, "isFeatureAvailable").mockImplementation(() => false); - const message = "Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not."; + const message = "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."; const infoMock = jest.spyOn(core, "info"); try { diff --git a/src/utils/actionUtils.ts b/src/utils/actionUtils.ts index b4af351..07bae93 100644 --- a/src/utils/actionUtils.ts +++ b/src/utils/actionUtils.ts @@ -80,7 +80,7 @@ export function isCacheFeatureAvailable(): boolean { if (!cache.isFeatureAvailable()) { if (isGhes()){ logWarning( - "Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not." + "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{