Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
		
							parent
							
								
									f759c9317b
								
							
						
					
					
						commit
						b9567175aa
					
				| @ -26,15 +26,13 @@ stages: | ||||
|       - task: UseDotNet@2 | ||||
|         inputs: | ||||
|           packageType: 'sdk' | ||||
|           version: '8.0.x' | ||||
|           version: '9.0.x' | ||||
| 
 | ||||
|       - task: NodeTool@0 | ||||
|         inputs: | ||||
|           versionSource: 'spec' | ||||
|           versionSpec: '20.x' | ||||
| 
 | ||||
|        | ||||
| 
 | ||||
|       - task: Npm@1 | ||||
|         inputs: | ||||
|           command: 'custom' | ||||
| @ -43,23 +41,8 @@ stages: | ||||
| 
 | ||||
|       - task: PowerShell@2 | ||||
|         inputs: | ||||
|           targetType: 'inline' | ||||
|           script: | | ||||
|             npm install rimraf -g | ||||
|             npm install parcel -g | ||||
| 
 | ||||
|       - task: DotNetCoreCLI@2 | ||||
|         inputs: | ||||
|           command: 'restore' | ||||
|           projects: '**/*.csproj' | ||||
|           feedsToUse: 'config' | ||||
| 
 | ||||
|       - task: DotNetCoreCLI@2 | ||||
|         inputs: | ||||
|           command: 'custom' | ||||
|           custom: 'publish' | ||||
|           arguments: '-o $(Build.ArtifactStagingDirectory)-linux' | ||||
|           configuration: '$(buildConfiguration)' | ||||
|           filePath: 'make.ps1' | ||||
|           arguments: '-OutputDir $(Build.ArtifactStagingDirectory)-linux' | ||||
| 
 | ||||
|       - task: PublishBuildArtifacts@1 | ||||
|         inputs: | ||||
| @ -77,38 +60,17 @@ stages: | ||||
|       - task: UseDotNet@2 | ||||
|         inputs: | ||||
|           packageType: 'sdk' | ||||
|           version: '8.0.x' | ||||
|           version: '9.0.x' | ||||
|            | ||||
|       - task: NodeTool@0 | ||||
|         inputs: | ||||
|           versionSource: 'spec' | ||||
|           versionSpec: '20.x' | ||||
| 
 | ||||
|       - task: Npm@1 | ||||
|         inputs: | ||||
|           command: 'custom' | ||||
|           workingDir: 'EnotaryoPH/EnotaryoPH.Web' | ||||
|           customCommand: 'install --production' | ||||
| 
 | ||||
|       - task: PowerShell@2 | ||||
|         inputs: | ||||
|           targetType: 'inline' | ||||
|           script: | | ||||
|             npm install rimraf -g | ||||
|             npm install parcel -g | ||||
| 
 | ||||
|       - task: DotNetCoreCLI@2 | ||||
|         inputs: | ||||
|           command: 'restore' | ||||
|           projects: '**/*.csproj' | ||||
|           feedsToUse: 'config' | ||||
| 
 | ||||
|       - task: DotNetCoreCLI@2 | ||||
|         inputs: | ||||
|           command: 'custom' | ||||
|           custom: 'publish' | ||||
|           arguments: '-o $(Build.ArtifactStagingDirectory)-windows' | ||||
|           configuration: '$(buildConfiguration)' | ||||
|           filePath: 'make.ps1' | ||||
|           arguments: '-OutputDir $(Build.ArtifactStagingDirectory)-linux' | ||||
| 
 | ||||
|       - task: PublishBuildArtifacts@1 | ||||
|         inputs: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user