use powershell as docs recommend
@@ -81,8 +81,13 @@ jobs:
vmImage: $(image_name)
steps:
+ - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
+ displayName: Add conda to PATH
+ condition: eq( variables['Agent.OS'], 'Windows_NT' )
+
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH
+ condition: eq( variables['Agent.OS'], 'Darwin' )
- bash: sudo chown -R $USER $CONDA
displayName: Take ownership of conda installation
