From d5d67707d2d169a376918289347a1e2d5487c70b Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Sat, 23 Jul 2022 10:19:13 +0800 Subject: [PATCH] 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. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abb8199c..84cd67b6 100644 --- a/README.md +++ b/README.md @@ -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`