You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/cache-save/index.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -87883,7 +87883,8 @@ function saveCache(packageManager) {
87883
87883
const cachePaths = JSON.parse(cachePathState);
87884
87884
core.debug(`paths for caching are ${cachePaths.join(', ')}`);
87885
87885
if (!isCacheDirectoryExists(cachePaths)) {
87886
-
throw new Error(`Cache folder path is retrieved for ${packageManager} but doesn't exist on disk: ${cachePaths.join(', ')}. This likely indicates that there are no dependencies to cache. Consider removing the cache step if it is not needed.`);
87886
+
core.warning(`Cache folder path is retrieved for ${packageManager} but doesn't exist on disk: ${cachePaths.join(', ')}. This likely indicates that there are no dependencies to cache. Consider removing the cache step if it is not needed.`);
0 commit comments