mirror of
https://github.com/actions/setup-python.git
synced 2024-11-25 02:16:54 +01:00
Improve readme for 3.x and 3.11-dev style python-version (#441)
This commit is contained in:
parent
0ad0f6a0a5
commit
c4e89fac7e
1 changed files with 20 additions and 0 deletions
20
README.md
20
README.md
|
@ -127,6 +127,26 @@ steps:
|
|||
- run: python my_script.py
|
||||
```
|
||||
|
||||
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
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- run: python my_script.py
|
||||
```
|
||||
|
||||
Download and set up PyPy:
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Reference in a new issue