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:
		
							parent
							
								
									543a768bba
								
							
						
					
					
						commit
						955d7e47c4
					
				| @ -74,7 +74,11 @@ stages: | |||||||
| 
 | 
 | ||||||
|   - job: WindowsBuild |   - job: WindowsBuild | ||||||
|     displayName: 'Build on Windows' |     displayName: 'Build on Windows' | ||||||
|     condition: ne(variables['Build.Reason'], 'PullRequest') |     condition: | | ||||||
|  |       and( | ||||||
|  |         succeeded(), | ||||||
|  |         not(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) | ||||||
|  |       ) | ||||||
|     pool: |     pool: | ||||||
|       vmImage: 'windows-latest' # Specify the Windows agent |       vmImage: 'windows-latest' # Specify the Windows agent | ||||||
|     steps: |     steps: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user