8000 Change advanced-usage.md · rushablab/setup-python@853c012 · GitHub
[go: up one dir, main page]

Skip to content

Commit 853c012

Browse files
author
IvanZosimov
committed
Change advanced-usage.md
1 parent fd6f59d commit 853c012

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/advanced-usage.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@
2323

2424
- If there is a specific version of Python that you need and you don't want to worry about any potential breaking changes due to patch updates (going from `3.7.5` to `3.7.6` for example), you should specify the **exact major, minor, and patch version** (such as `3.7.5`):
2525

26-
```yaml
26+
```yaml
2727
steps:
2828
- uses: actions/checkout@v3
2929
- uses: actions/setup-python@v4
3030
with:
3131
python-version: '3.7.5'
3232
- run: python my_script.py
3333
```
34-
- The only downside to this is that set-up will take a little longer since the exact version will have to be downloaded if the exact version is not already installed on the runner due to more recent versions.
35-
- MSI installers are used on Windows for this, so runs will take a little longer to set up vs MacOS and Linux.
34+
- The only downside to this is that set-up will take a little longer since the exact version will have to be downloaded if the exact version is not already installed on the runner due to more recent versions.
35+
- MSI installers are used on Windows for this, so runs will take a little longer to set up vs MacOS and Linux.
3636
3737
- You can specify **only a major and minor version** if you are okay with the most recent patch version being used:
3838
39-
```yaml
39+
```yaml
4040
steps:
4141
- uses: actions/checkout@v3
4242
- uses: actions/setup-python@v4
4343
with:
4444
python-version: '3.7'
4545
- run: python my_script.py
4646
```
47-
- There will be a single patch version already installed on each runner for every minor version of Python that is supported.
48-
- The patch version that will be preinstalled, will generally be the latest and every time there is a new patch released, the older version that is preinstalled will be replaced.
49-
- Using the most recent patch version will result in a very quick setup since no downloads will be required since a locally installed version of Python on the runner will be used.
47+
- There will be a single patch version already installed on each runner for every minor version of Python that is supported.
48+
- The patch version that will be preinstalled, will generally be the latest and every time there is a new patch released, the older version that is preinstalled will be replaced.
49+
- Using the most recent patch version will result in a very quick setup since no downloads will be required since a locally installed version of Python on the runner will be used.
5050
5151
- You can specify the version with **prerelease tag** to download and set up an accurate pre-release version of Python:
5252

0 commit comments

Comments
 (0)
0