You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ jobs:
87
87
- uses: actions/checkout@v2
88
88
- uses: actions/setup-python@v2
89
89
with:
90
-
python-version: ${{ matrix.python }}
90
+
python-version: ${{ matrix.python-version }}
91
91
- run: python my_script.py
92
92
93
93
```
@@ -141,7 +141,7 @@ If you would like to use `setup-python` and a self-hosted runner, there are a fe
141
141
### Windows
142
142
143
143
- 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.
145
145
- 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.
146
146
- MSI installers are used when setting up Python on Windows. A word of caution as MSI installers update registry settings.
147
147
- 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
157
157
- The runner can be granted write access to the `/opt/hostedtoolcache` directory using a few techniques:
158
158
- The user starting the runner is the owner, and the owner has write permission
159
159
- 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
161
161
- 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`
- 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