mirror of
https://github.com/actions/setup-python.git
synced 2026-08-21 16:13:09 +01:00
Updated error message (#1351)
Co-authored-by: lmvysakh <lmvysakh@github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ abstract class CacheDistributor {
|
||||
.join(',')} or ${CACHE_DEPENDENCY_BACKUP_PATH}`
|
||||
: this.cacheDependencyPath.split('\n').join(',');
|
||||
throw new Error(
|
||||
`No file in ${process.cwd()} matched to [${file}], make sure you have checked out the target repository`
|
||||
`No file in ${process.cwd()} matched to [${file}] for ${this.packageManager}. Make sure you have checked out the target repository, or consider removing the cache step if there are no dependencies to cache.`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user