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
+1-1
Original file line number
Diff line number
Diff line change
@@ -81165,7 +81165,7 @@ function saveCache(packageManager) {
81165
81165
const cachePaths = JSON.parse(cachePathState);
81166
81166
core.debug(`paths for caching are ${cachePaths.join(', ')}`);
81167
81167
if (!isCacheDirectoryExists(cachePaths)) {
81168
-
throw new Error(`Cache folder path is retrieved for ${packageManager} but doesn't exist on disk: ${cachePaths.join(', ')}`);
81168
+
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.`);
0 commit comments