I have a self-hosted Azure DevOps Pipeline build agent and would like to download and install Python from the Github repository if it is not already available in the agent tools directory.
The official documentation for the Azure DevOps pipeline task UsePythonVersion@0 states about the input 'githubToken':
githubToken: # string. Optional. Use when disableDownloadFromRegistry = false GitHub token for GitHub Actions python registry.
I am not familiar with GitHub actions and am confused regarding what I should provide for the githubToken input. It is a PAT? Or does it refer to the GITHUB_TOKEN? Where shall I obtain such token so that my pipeline can successfully download Python from GitHub.
The error I experience at the moment is:
##[error]Failed to download Python from the Github Actions python registry (https://github.com/actions/python-versions). Error: Error: unable to get local issuer certificate