diff --git a/.azure/scripts/python.yml b/.azure/scripts/python.yml index 14685a490..4f939bad1 100644 --- a/.azure/scripts/python.yml +++ b/.azure/scripts/python.yml @@ -10,11 +10,12 @@ parameters: steps: - task: UsePythonVersion@0 inputs: - architecture: $(architecture) - versionSpec: $(version) + architecture: ${{ parameters.architecture }} + versionSpec: ${{ parameters.version }} disableDownloadFromRegistry: false # boolean. Disable downloading releases from the GitHub registry. Default: false. allowUnstable: true # boolean. Optional. Use when disableDownloadFromRegistry = false. Allow downloading unstable releases. Default: false. - githubToken: $(githubToken) # global (secret) variable to allow API access to Github (for not hitting a rate limit while downloading). + # todo: do we need this kind of variable access pattern? + githubToken: ${{ githubToken }} # global (secret) variable to allow API access to Github (for not hitting a rate limit while downloading). - bash: | [[ $(python --version) -eq '$version' ]] displayName: check version \ No newline at end of file