mirror of
				https://gitea.com/actions/setup-python.git
				synced 2025-10-31 19:58:55 +08:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			v5.4.0
			...
			error-mess
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | e283d84e0c | 
							
								
								
									
										2
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -81041,7 +81041,7 @@ class CacheDistributor { | |||||||
|                         .split('\n') |                         .split('\n') | ||||||
|                         .join(',')} or ${constants_1.CACHE_DEPENDENCY_BACKUP_PATH}` |                         .join(',')} or ${constants_1.CACHE_DEPENDENCY_BACKUP_PATH}` | ||||||
|                     : this.cacheDependencyPath.split('\n').join(','); |                     : 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`); |                 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`); | ||||||
|             } |             } | ||||||
|             const cachePath = yield this.getCacheGlobalDirectories(); |             const cachePath = yield this.getCacheGlobalDirectories(); | ||||||
|             core.saveState(State.CACHE_PATHS, cachePath); |             core.saveState(State.CACHE_PATHS, cachePath); | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -90243,7 +90243,7 @@ class CacheDistributor { | |||||||
|                         .split('\n') |                         .split('\n') | ||||||
|                         .join(',')} or ${constants_1.CACHE_DEPENDENCY_BACKUP_PATH}` |                         .join(',')} or ${constants_1.CACHE_DEPENDENCY_BACKUP_PATH}` | ||||||
|                     : this.cacheDependencyPath.split('\n').join(','); |                     : 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`); |                 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`); | ||||||
|             } |             } | ||||||
|             const cachePath = yield this.getCacheGlobalDirectories(); |             const cachePath = yield this.getCacheGlobalDirectories(); | ||||||
|             core.saveState(State.CACHE_PATHS, cachePath); |             core.saveState(State.CACHE_PATHS, cachePath); | ||||||
|   | |||||||
| @@ -32,7 +32,11 @@ abstract class CacheDistributor { | |||||||
|               .join(',')} or ${CACHE_DEPENDENCY_BACKUP_PATH}` |               .join(',')} or ${CACHE_DEPENDENCY_BACKUP_PATH}` | ||||||
|           : this.cacheDependencyPath.split('\n').join(','); |           : this.cacheDependencyPath.split('\n').join(','); | ||||||
|       throw new Error( |       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}], 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` | ||||||
|       ); |       ); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user