diff --git a/.azure/pipelines.yml b/.azure/pipelines.yml index c861ee496b..8cc90c32f1 100644 --- a/.azure/pipelines.yml +++ b/.azure/pipelines.yml @@ -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 diff --git a/.azure/templates/install.yml b/.azure/templates/install.yml index 27834e4271..01dcbdd2df 100644 --- a/.azure/templates/install.yml +++ b/.azure/templates/install.yml @@ -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