mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/setup-python
				synced 2025-10-31 13:41:06 +08:00 
			
		
		
		
	Change deprecation comment to past tense (#723)
This commit is contained in:
		
							parent
							
								
									f6cc428f53
								
							
						
					
					
						commit
						8635b1ccc5
					
				
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @ -70224,7 +70224,7 @@ function run() { | |||||||
|                     } |                     } | ||||||
|                     else { |                     else { | ||||||
|                         if (version.startsWith('2')) { |                         if (version.startsWith('2')) { | ||||||
|                             core.warning('The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672'); |                             core.warning('The support for python 2.7 was removed on June 19, 2023. Related issue: https://github.com/actions/setup-python/issues/672'); | ||||||
|                         } |                         } | ||||||
|                         const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases); |                         const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases); | ||||||
|                         pythonVersion = installed.version; |                         pythonVersion = installed.version; | ||||||
|  | |||||||
| @ -124,7 +124,7 @@ async function run() { | |||||||
|         } else { |         } else { | ||||||
|           if (version.startsWith('2')) { |           if (version.startsWith('2')) { | ||||||
|             core.warning( |             core.warning( | ||||||
|               'The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672' |               'The support for python 2.7 was removed on June 19, 2023. Related issue: https://github.com/actions/setup-python/issues/672' | ||||||
|             ); |             ); | ||||||
|           } |           } | ||||||
|           const installed = await finder.useCpythonVersion( |           const installed = await finder.useCpythonVersion( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jeff Widman
						Jeff Widman