mirror of
				https://kkgithub.com/actions/setup-python.git
				synced 2025-10-31 18:51:51 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			624 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			624 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| name: 'Setup Python'
 | |
| description: 'Set up a specific version of Python and add the command-line tools to the PATH.'
 | |
| author: 'GitHub'
 | |
| inputs:
 | |
|   python-version:
 | |
|     description: "Version range or exact version of a Python version to use, using SemVer's version range syntax."
 | |
|     default: '3.x'
 | |
|   architecture:
 | |
|     description: 'The target architecture (x86, x64) of the Python interpreter.'
 | |
|     default: 'x64'
 | |
| outputs:
 | |
|   python-version:
 | |
|     description: "The installed python version. Useful when given a version range as input."
 | |
| runs:
 | |
|   using: 'node12'
 | |
|   main: 'dist/index.js'
 | |
| branding:
 | |
|   icon: 'code'
 | |
|   color: 'yellow'
 | 
