change error to warning

This commit is contained in:
Aparna Jyothi 2024-07-15 18:01:45 +05:30
parent 39cd14951b
commit 3f03e89129
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ async function saveCache(packageManager: string) {
core.debug(`paths for caching are ${cachePaths.join(', ')}`);
if (!isCacheDirectoryExists(cachePaths)) {
throw new Error(
core.warning(
`Cache folder path is retrieved for ${packageManager} but doesn't exist on disk: ${cachePaths.join(
', '
)}`