diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2209317dbd2..5555c2b350c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -591,7 +591,7 @@ jobs: displayName: Build Homebrew Formula dependsOn: BuildPythonWheel - condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual', 'Schedule')) + condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual', 'Schedule'), not(contains(variables['Build.SourceBranch'], 'lts'))) pool: name: ${{ variables.ubuntu_pool }} steps: