From 3f105d516995fb9c20de4e0ebedcf4f045b992e9 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Thu, 5 Oct 2023 13:26:21 +0100 Subject: [PATCH] ci: Authenticate UsePythonVersion requests to Github This should address the warning in Azure Pipelines > You should provide GitHub token if you want to download a python release. > Otherwise you may hit the GitHub anonymous download limit. The token is provided from a secret variable in the pipeline. --- .ci/azure-pipelines-steps.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/azure-pipelines-steps.yml b/.ci/azure-pipelines-steps.yml index b7b094e3..ed516d72 100644 --- a/.ci/azure-pipelines-steps.yml +++ b/.ci/azure-pipelines-steps.yml @@ -9,6 +9,7 @@ steps: - task: UsePythonVersion@0 displayName: Install python inputs: + githubToken: '$(GITHUB_PYVER_TOKEN)' versionSpec: '$(python.version)' condition: ne(variables['python.version'], '')