Skip to content

Commit

Permalink
pass vars not as strings
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Nov 17, 2024
1 parent fbe74cd commit 7334fef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azure/scripts/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ parameters:
steps:
- task: UsePythonVersion@0
inputs:
architecture: '$(architecture)'
versionSpec: '$(version)'
architecture: $(architecture)
versionSpec: $(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).
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

0 comments on commit 7334fef

Please sign in to comment.