Skip to content

Commit

Permalink
Revert "Revert "Toggle conda environment mode""
Browse files Browse the repository at this point in the history
This reverts commit 77c359c.
  • Loading branch information
guyer committed Dec 11, 2023
1 parent 77c359c commit 0dc6f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ steps:
conda install --channel=conda-forge --name=base conda-lock
conda-lock install --name myEnvironment ${{ parameters.conda_lock }}
displayName: Create Anaconda environment from lockfile
condition: eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')
condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'))
- bash: |
conda env create --name myEnvironment \
--file environments/environment.yml \
--file environments/${{ parameters.solver }}-environment.yml
displayName: Create Anaconda environment from environments
condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'))
condition: eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')
- bash: |
if [[ "${{ parameters.conda_packages }}" != "" ]]; then
Expand Down

0 comments on commit 0dc6f52

Please sign in to comment.