mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/setup-python
				synced 2025-10-31 13:41:06 +08:00 
			
		
		
		
	Successfully set up (#399)
This commit is contained in:
		
							parent
							
								
									1ce308808a
								
							
						
					
					
						commit
						a69041ca9f
					
				
							
								
								
									
										4
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @ -6100,12 +6100,12 @@ function run() { | |||||||
|                 if (isPyPyVersion(version)) { |                 if (isPyPyVersion(version)) { | ||||||
|                     const installed = yield finderPyPy.findPyPyVersion(version, arch); |                     const installed = yield finderPyPy.findPyPyVersion(version, arch); | ||||||
|                     pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`; |                     pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`; | ||||||
|                     core.info(`Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`); |                     core.info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`); | ||||||
|                 } |                 } | ||||||
|                 else { |                 else { | ||||||
|                     const installed = yield finder.useCpythonVersion(version, arch); |                     const installed = yield finder.useCpythonVersion(version, arch); | ||||||
|                     pythonVersion = installed.version; |                     pythonVersion = installed.version; | ||||||
|                     core.info(`Successfully setup ${installed.impl} (${pythonVersion})`); |                     core.info(`Successfully set up ${installed.impl} (${pythonVersion})`); | ||||||
|                 } |                 } | ||||||
|                 const cache = core.getInput('cache'); |                 const cache = core.getInput('cache'); | ||||||
|                 if (cache && utils_1.isCacheFeatureAvailable()) { |                 if (cache && utils_1.isCacheFeatureAvailable()) { | ||||||
|  | |||||||
							
								
								
									
										4
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -1,12 +1,12 @@ | |||||||
| { | { | ||||||
|   "name": "setup-python", |   "name": "setup-python", | ||||||
|   "version": "3.1.0", |   "version": "3.1.1", | ||||||
|   "lockfileVersion": 2, |   "lockfileVersion": 2, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "": { |     "": { | ||||||
|       "name": "setup-python", |       "name": "setup-python", | ||||||
|       "version": "3.1.0", |       "version": "3.1.1", | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@actions/cache": "^2.0.2", |         "@actions/cache": "^2.0.2", | ||||||
|  | |||||||
| @ -41,12 +41,12 @@ async function run() { | |||||||
|         const installed = await finderPyPy.findPyPyVersion(version, arch); |         const installed = await finderPyPy.findPyPyVersion(version, arch); | ||||||
|         pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`; |         pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`; | ||||||
|         core.info( |         core.info( | ||||||
|           `Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})` |           `Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})` | ||||||
|         ); |         ); | ||||||
|       } else { |       } else { | ||||||
|         const installed = await finder.useCpythonVersion(version, arch); |         const installed = await finder.useCpythonVersion(version, arch); | ||||||
|         pythonVersion = installed.version; |         pythonVersion = installed.version; | ||||||
|         core.info(`Successfully setup ${installed.impl} (${pythonVersion})`); |         core.info(`Successfully set up ${installed.impl} (${pythonVersion})`); | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       const cache = core.getInput('cache'); |       const cache = core.getInput('cache'); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Brian Cristante
						Brian Cristante