Merged PR 21: Update azure-pipelines.yml for Azure Pipelines
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.
This commit is contained in:
		
						commit
						144e941a34
					
				| @ -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: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user