mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/setup-python
				synced 2025-10-31 18:01:09 +08:00 
			
		
		
		
	Add warning if python version set to empty value
This commit is contained in:
		
							parent
							
								
									c36dc43e7b
								
							
						
					
					
						commit
						ac4e858835
					
				| @ -53,6 +53,10 @@ async function run() { | ||||
|       if (cache && isCacheFeatureAvailable()) { | ||||
|         await cacheDependencies(cache, pythonVersion); | ||||
|       } | ||||
|     } else { | ||||
|       core.warning( | ||||
|         'python-version is empty, the OS native python will be used' | ||||
|       ); | ||||
|     } | ||||
|     const matchersPath = path.join(__dirname, '../..', '.github'); | ||||
|     core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sergey Dolin
						Sergey Dolin