mirror of
https://github.com/actions/setup-python.git
synced 2025-04-21 22:38:43 +00:00
readme - clarify how to get latest dev/patch version, for specified major + minor versions
This commit is contained in:
parent
5414eda0c4
commit
e280555c84
1 changed files with 11 additions and 1 deletions
12
README.md
12
README.md
|
@ -127,7 +127,17 @@ steps:
|
|||
- run: python my_script.py
|
||||
```
|
||||
|
||||
Download and set up the latest stable version of Python, for specified major version:
|
||||
Download and set up the latest patch version of Python (for specified major & minor versions):
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11-dev'
|
||||
- run: python my_script.py
|
||||
```
|
||||
|
||||
Download and set up the latest stable version of Python (for specified major version):
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue