Skip to content

Commit

Permalink
Improve readme for 3.x and 3.11-dev style python-version (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
James authored Jul 7, 2022
1 parent 0ad0f6a commit c4e89fa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4e89fa

Please sign in to comment.