Skip to content

Commit

Permalink
By all means, lets have >= 3 incompatible variable syntaxen
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Dec 10, 2023
1 parent 2493087 commit 292b2b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .azure/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ schedules:
variables:
system.debug: true
system.log: true
use_lockfile: true
# not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'))
use_lockfile: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'))

stages:
- stage: Analyze
Expand Down
4 changes: 2 additions & 2 deletions .azure/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,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: ${{ variables.use_lockfile }}
condition: $[variables.use_lockfile]
- bash: |
conda env create --name myEnvironment \
--file environments/environment.yml \
--file environments/$(FIPY_SOLVERS)-environment.yml
displayName: Create Anaconda environment from environments
condition: not(${{ variables.use_lockfile }})
condition: not($[variables.use_lockfile])
- bash: |
if [[ "${{ parameters.conda_packages }}" != "" ]]; then
Expand Down

0 comments on commit 292b2b7

Please sign in to comment.