1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-09-19 16:46:43 +00:00

docs: Mac Tool Path

Ensure that the path requirements and reasoning is clear, to reduce
confusion when using self-hosted, or attempting to set an
'AGENT_TOOLSDIRECTORY' environment variable.
This commit is contained in:
Leon Wright 2022-07-23 10:19:13 +08:00
parent bc8ee42330
commit d5d67707d2
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 95F5A1DE99BFCA3D

View file

@ -427,7 +427,8 @@ If you are experiencing problems while configuring Python on your self-hosted ru
### Mac
- The same setup that applies to `Linux` also applies to `Mac`
- The Python packages that are downloaded from `actions/python-versions` are originally compiled from source with the [--enable-shared](https://github.com/actions/python-versions/blob/main/builders/macos-python-builder.psm1#L44) flag, however lack the relocatable flag.
- Due to the fixed shared library path, only the hosted tool cache of `/Users/runner/hostedtoolcache` is supported, and the path must be writeable by the runner user.
# Using Python without `setup-python`