Skip to content

Commit

Permalink
variable access pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Nov 17, 2024
1 parent 7334fef commit 8da632e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .azure/scripts/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8da632e

Please sign in to comment.