Content-Length: 328858 | pFad | http://github.com/actions/setup-python/commit/e283d84e0c4aafc8fbd4096b18c5e2f60eb6c218

C2 error-message-update · actions/setup-python@e283d84 · GitHub
Skip to content

Commit e283d84

Browse files
error-message-update
1 parent 70dcb22 commit e283d84

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

dist/cache-save/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81041,7 +81041,7 @@ class CacheDistributor {
8104181041
.split('\n')
8104281042
.join(',')} or ${constants_1.CACHE_DEPENDENCY_BACKUP_PATH}`
8104381043
: this.cacheDependencyPath.split('\n').join(',');
81044-
throw new Error(`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository`);
81044+
throw new Error(`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository. No cache paths were identified for ${this.packageManager} with cache-dependency-path = ${this.cacheDependencyPath}. This likely indicates no dependencies to cache. Consider removing the cache step if it's not needed`);
8104581045
}
8104681046
const cachePath = yield this.getCacheGlobalDirectories();
8104781047
core.saveState(State.CACHE_PATHS, cachePath);

dist/setup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90243,7 +90243,7 @@ class CacheDistributor {
9024390243
.split('\n')
9024490244
.join(',')} or ${constants_1.CACHE_DEPENDENCY_BACKUP_PATH}`
9024590245
: this.cacheDependencyPath.split('\n').join(',');
90246-
throw new Error(`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository`);
90246+
throw new Error(`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository. No cache paths were identified for ${this.packageManager} with cache-dependency-path = ${this.cacheDependencyPath}. This likely indicates no dependencies to cache. Consider removing the cache step if it's not needed`);
9024790247
}
9024890248
const cachePath = yield this.getCacheGlobalDirectories();
9024990249
core.saveState(State.CACHE_PATHS, cachePath);

src/cache-distributions/cache-distributor.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ abstract class CacheDistributor {
3232
.join(',')} or ${CACHE_DEPENDENCY_BACKUP_PATH}`
3333
: this.cacheDependencyPath.split('\n').join(',');
3434
throw new Error(
35-
`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository`
35+
`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository. No cache paths were identified for ${
36+
this.packageManager
37+
} with cache-dependency-path = ${
38+
this.cacheDependencyPath
39+
}. This likely indicates no dependencies to cache. Consider removing the cache step if it's not needed`
3640
);
3741
}
3842

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/actions/setup-python/commit/e283d84e0c4aafc8fbd4096b18c5e2f60eb6c218

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy