mirror of
				https://gitea.com/actions/setup-python.git
				synced 2025-10-31 00:58:07 +07:00 
			
		
		
		
	
						commit
						87886b89ec
					
				
							
								
								
									
										2
									
								
								node_modules/@actions/tool-cache/lib/tool-cache.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								node_modules/@actions/tool-cache/lib/tool-cache.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -30,7 +30,7 @@ const IS_WINDOWS = process.platform === 'win32'; | |||||||
| const userAgent = 'actions/tool-cache'; | const userAgent = 'actions/tool-cache'; | ||||||
| // On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
 | // On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
 | ||||||
| let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || ''; | let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || ''; | ||||||
| let cacheRoot = process.env['RUNNER_TOOLSDIRECTORY'] || ''; | let cacheRoot = process.env['AGENT_TOOLSDIRECTORY'] || process.env['RUNNER_TOOLSDIRECTORY'] || ''; | ||||||
| // If directories not found, place them in common temp locations
 | // If directories not found, place them in common temp locations
 | ||||||
| if (!tempDirectory || !cacheRoot) { | if (!tempDirectory || !cacheRoot) { | ||||||
|     let baseLocation; |     let baseLocation; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user