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