mirror of
https://github.com/actions/setup-python.git
synced 2025-07-22 11:08:21 +02:00
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
This commit is contained in:
parent
dbfda6e73c
commit
abfae9a57a
4 changed files with 38 additions and 31 deletions
|
@ -4,10 +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. This overrides 'python-version' if specified. Examples: .python-version"
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue