Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit aae22a3

Browse files
committed
try to get conditional to work 10
1 parent 9082c52 commit aae22a3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

azure/posix.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ jobs:
2525

2626
- task: UsePythonVersion@0
2727
inputs:
28-
versionSpec: ${{ coalesce(variables.AZURE_PYTHON_VERSION, variables.MB_PYTHON_VERSION) }}
29-
displayName: Set python version
28+
versionSpec: $AZURE_PYTHON_VERSION
29+
displayName: Set python version from AZURE
30+
condition: ne( coalesce (variables['AZURE_PYTHON_VERSION'], 'NONE'), 'NONE')
31+
32+
- task: UsePythonVersion@0
33+
inputs:
34+
versionSpec: $MB_PYTHON_VERSION
35+
displayName: Set python version from MB
36+
condition: eq( coalesce (variables['AZURE_PYTHON_VERSION'], 'NONE'), 'NONE')
3037

3138
- bash: |
3239
set -e

0 commit comments

Comments
 (0)