Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2241d84

Browse filesBrowse files
authored
Fix matrix value for non-default py version example (actions#100)
1 parent 807b74f commit 2241d84
Copy full SHA for 2241d84

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- uses: actions/checkout@v2
8888
- uses: actions/setup-python@v2
8989
with:
90-
python-version: ${{ matrix.python }}
90+
python-version: ${{ matrix.python-version }}
9191
- run: python my_script.py
9292

9393
```
@@ -141,7 +141,7 @@ If you would like to use `setup-python` and a self-hosted runner, there are a fe
141141
### Windows
142142

143143
- Your runner needs to be running with administrator privileges so that the appropriate directories and files can be set up when downloading and installing a new version of Python for the first time.
144-
- If your runner is configured as a service, make sure the account that is running the service has the appropriate write permissions so that Python can get installed. The default `NT AUTHORITY\NETWORK SERVICE` should be sufficient.
144+
- If your runner is configured as a service, make sure the account that is running the service has the appropriate write permissions so that Python can get installed. The default `NT AUTHORITY\NETWORK SERVICE` should be sufficient.
145145
- You need `7zip` installed and added to your `PATH` so that the downloaded versions of Python files can be extracted properly during first-time setup.
146146
- MSI installers are used when setting up Python on Windows. A word of caution as MSI installers update registry settings.
147147
- The 3.8 MSI installer for Windows will not let you install another 3.8 version of Python. If `setup-python` fails for a 3.8 version of Python, make sure any previously installed versions are removed by going to "Apps & Features" in the Settings app.
@@ -157,7 +157,7 @@ If you would like to use `setup-python` and a self-hosted runner, there are a fe
157157
- The runner can be granted write access to the `/opt/hostedtoolcache` directory using a few techniques:
158158
- The user starting the runner is the owner, and the owner has write permission
159159
- The user starting the runner is in the owning group, and the owning group has write permission
160-
- All users have write permission
160+
- All users have write permission
161161
- One quick way to grant access is to change the user and group of `/opt/hostedtoolcache` to be the same as the runners using `chown`
162162
- `sudo chown runner-user:runner-group opt/hostedtoolcache/`
163163
- If your runner is configured as a service and you run into problems, make sure the user that the service is running as is correct. For more information, you can [check the status of your self-hosted runner](https://help.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service#checking-the-status-of-the-service).

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.