mirror of
https://github.com/actions/setup-python.git
synced 2025-12-18 22:37:10 +00:00
Merge 656324a07e into 4267e283df
This commit is contained in:
commit
0b00bf187f
4 changed files with 19 additions and 3 deletions
|
|
@ -623,7 +623,12 @@ One quick way to grant access is to change the user and group of `/Users/runner/
|
|||
|
||||
### No access to github.com
|
||||
|
||||
If the runner is not able to access github.com, any Python versions requested during a workflow run must come from the runner's tool cache. See "[Setting up the tool cache on self-hosted runners without internet access](https://docs.github.com/en/enterprise-server/admin/github-actions/managing-access-to-actions-from-githubcom/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)" for more information.
|
||||
If the runner is not able to access github.com, any Python versions requested during a workflow run must come from the runner's tool cache or defining and alternative mirror to download the distributions. See "[Setting up the tool cache on self-hosted runners without internet access](https://docs.github.com/en/enterprise-server/admin/github-actions/managing-access-to-actions-from-githubcom/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)" for more information.
|
||||
|
||||
### Using an alternative location to download Python distributions
|
||||
|
||||
If it is not an option for you to add the Python distributions in the runner's tool cache, another option is to have some mirror or files repository in your company network. You can define the mirror URL using the input `python_download_base_url`. The mirror must be setup in such a way that the Python distributions are available with the format `<python_download_base_url>/<release version>/<python version tar file>`. For example `<python_download_base_url>/3.10.18-15433209320/python-3.10.18-linux-22.04-x64.tar.gz`
|
||||
|
||||
|
||||
|
||||
## Allow pre-releases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue