mirror of
https://github.com/actions/setup-python.git
synced 2025-01-25 15:55:15 +00:00
docs: fix outputs python-version example and description
Description was lacking words, example was misleading (id was set to cp310 which clearly was a reference to CPython 3.10, but the id is referring to the setup-python action!
This commit is contained in:
parent
3fddbee787
commit
a119b92266
@ -383,7 +383,7 @@ steps:
|
||||
|
||||
### `python-version`
|
||||
|
||||
Using **python-version** output it's possible to get the installed by action Python or PyPy version. This output is useful when the input `python-version` is given as a range (e.g. 3.8.0 - 3.12.0 ), but down in a workflow you need to operate with the exact installed version (e.g. 3.12.1).
|
||||
Using **python-version** output it's possible to get the precise Python or PyPy version installed by the action. This output is useful when the input `python-version` is given as a range (e.g. 3.8.0 - 3.12.0, 3.x, * ), but down the line you need to operate (such as in an `if:` statement) with the exact installed version (e.g. 3.12.0).
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
|
Loading…
Reference in New Issue
Block a user