attempt conda init cmd.exe
@@ -105,8 +105,13 @@ jobs:
- script: conda update --quiet conda
displayName: Update Conda
- # https://github.com/conda/conda/issues/8836#issuecomment-508358830
- - script: activate
+ # https://github.com/conda/conda/issues/8865#issuecomment-508865446
+ - script: call activate
+ displayName: Activate Conda on Windows
+ condition: eq( variables['Agent.OS'], 'Windows_NT' )
+
+ # https://github.com/conda/conda/issues/8865#issuecomment-508865446
+ - script: conda init cmd.exe
displayName: Activate Conda on Windows
condition: eq( variables['Agent.OS'], 'Windows_NT' )
