Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
		
							parent
							
								
									91bd820134
								
							
						
					
					
						commit
						81f637ff82
					
				@ -1,23 +1,19 @@
 | 
				
			|||||||
# .NET Desktop
 | 
					# Starter pipeline
 | 
				
			||||||
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
 | 
					 # Start with a minimal pipeline that you can customize to build and deploy your code.
 | 
				
			||||||
# Add steps that publish symbols, save build artifacts, and more:
 | 
					  # Add steps that build, run tests, deploy, and more:
 | 
				
			||||||
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
 | 
					  # https://aka.ms/yaml
 | 
				
			||||||
 | 
					 variables: # pipeline-level 
 | 
				
			||||||
trigger:
 | 
					    branch: 'azure_branch'
 | 
				
			||||||
- master
 | 
					   
 | 
				
			||||||
 | 
					 trigger:
 | 
				
			||||||
pool:
 | 
					  - master
 | 
				
			||||||
  vmImage: 'windows-latest'
 | 
					 pool:
 | 
				
			||||||
 | 
					   vmImage: 'ubuntu-latest'
 | 
				
			||||||
variables:
 | 
					 steps:
 | 
				
			||||||
  solution: '*.sln'
 | 
					 - script: |
 | 
				
			||||||
  buildPlatform: 'Any CPU'
 | 
					    git remote add github https://<username>:<password>@github.com/Brian-Ding/ant-design-blazor.git
 | 
				
			||||||
  buildConfiguration: 'Release'
 | 
					    git checkout -b $(branch)
 | 
				
			||||||
 | 
					    git push -u github $(branch)
 | 
				
			||||||
steps:
 | 
					    
 | 
				
			||||||
- task: NuGetToolInstaller@1
 | 
					    
 | 
				
			||||||
 | 
					   displayName: 'Command Line Script'
 | 
				
			||||||
- task: NuGetCommand@2
 | 
					 | 
				
			||||||
  inputs:
 | 
					 | 
				
			||||||
    restoreSolution: '$(solution)'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user