mirror of
https://github.com/actions/setup-python.git
synced 2025-08-27 11:14:15 +00:00
readme - clarify how to get latest stable version, for specified major version
This commit is contained in:
parent
ffcd00020c
commit
5414eda0c4
10
README.md
10
README.md
@ -127,6 +127,16 @@ steps:
|
|||||||
- run: python my_script.py
|
- 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:
|
Download and set up PyPy:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user