diff --git a/.azure/templates/install.yml b/.azure/templates/install.yml index 0a96320f2a..4e3bdd7b3f 100644 --- a/.azure/templates/install.yml +++ b/.azure/templates/install.yml @@ -54,6 +54,10 @@ steps: displayName: Create Anaconda environment from environments condition: or(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'), ne(variables['CONDA_ENVIRONMENT_NOT_LOCK'],'')) + - bash: | + conda env export --name myEnvironment + displayName: EnvironmentA + - bash: | if [[ "${{ parameters.conda_packages }}" != "" ]]; then source activate myEnvironment @@ -64,6 +68,10 @@ steps: fi displayName: Install Anaconda packages + - bash: | + conda env export --name myEnvironment + displayName: EnvironmentB + - bash: | if [[ "${{ parameters.pip_packages }}" != "" ]]; then source activate myEnvironment