mirror of
				https://gitea.com/actions/setup-python.git
				synced 2025-10-31 03:38:56 +08:00 
			
		
		
		
	add support for python-version-file (#336)
* add support for python-version-file * Update action.yml * update to v4, remove python-version default * python-version overrides python-version-file, like setup-node * checks '.python-version' by default if nothing else specified * update tests, update to checkout@v3 * update build * appease the linter * remove old test for default python version * revert readme changes * update build
This commit is contained in:
		| @@ -4,8 +4,9 @@ description: 'Set up a specific version of Python and add the command-line tools | ||||
| 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' | ||||
|     description: "Version range or exact version of Python to use, using SemVer's version range syntax. Reads from .python-version if unset." | ||||
|   python-version-file: | ||||
|     description: "File containing the Python version to use. Example: .python-version" | ||||
|   cache: | ||||
|     description: 'Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv, poetry.' | ||||
|     required: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andrew DiLosa
					Andrew DiLosa