From 955d7e47c465635c48fbf696ebab6890ba7ae793 Mon Sep 17 00:00:00 2001 From: Jojo Aquino Date: Mon, 21 Apr 2025 14:15:41 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines change condition of WindowsBuild only Build on Windows if it is not for a CI/Batch CI job. --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ded0d62..e6d6688 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,7 +74,11 @@ stages: - job: WindowsBuild displayName: 'Build on Windows' - condition: ne(variables['Build.Reason'], 'PullRequest') + condition: | + and( + succeeded(), + not(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) + ) pool: vmImage: 'windows-latest' # Specify the Windows agent steps: