Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
		
							parent
							
								
									f759c9317b
								
							
						
					
					
						commit
						b9567175aa
					
				| @ -26,14 +26,12 @@ stages: | |||||||
|       - task: UseDotNet@2 |       - task: UseDotNet@2 | ||||||
|         inputs: |         inputs: | ||||||
|           packageType: 'sdk' |           packageType: 'sdk' | ||||||
|           version: '8.0.x' |           version: '9.0.x' | ||||||
| 
 | 
 | ||||||
|       - task: NodeTool@0 |       - task: NodeTool@0 | ||||||
|         inputs: |         inputs: | ||||||
|           versionSource: 'spec' |           versionSource: 'spec' | ||||||
|           versionSpec: '20.x' |           versionSpec: '20.x' | ||||||
|            |  | ||||||
|        |  | ||||||
| 
 | 
 | ||||||
|       - task: Npm@1 |       - task: Npm@1 | ||||||
|         inputs: |         inputs: | ||||||
| @ -43,23 +41,8 @@ stages: | |||||||
| 
 | 
 | ||||||
|       - task: PowerShell@2 |       - task: PowerShell@2 | ||||||
|         inputs: |         inputs: | ||||||
|           targetType: 'inline' |           filePath: 'make.ps1' | ||||||
|           script: | |           arguments: '-OutputDir $(Build.ArtifactStagingDirectory)-linux' | ||||||
|             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)' |  | ||||||
| 
 | 
 | ||||||
|       - task: PublishBuildArtifacts@1 |       - task: PublishBuildArtifacts@1 | ||||||
|         inputs: |         inputs: | ||||||
| @ -77,38 +60,17 @@ stages: | |||||||
|       - task: UseDotNet@2 |       - task: UseDotNet@2 | ||||||
|         inputs: |         inputs: | ||||||
|           packageType: 'sdk' |           packageType: 'sdk' | ||||||
|           version: '8.0.x' |           version: '9.0.x' | ||||||
|            |            | ||||||
|       - task: NodeTool@0 |       - task: NodeTool@0 | ||||||
|         inputs: |         inputs: | ||||||
|           versionSource: 'spec' |           versionSource: 'spec' | ||||||
|           versionSpec: '20.x' |           versionSpec: '20.x' | ||||||
| 
 | 
 | ||||||
|       - task: Npm@1 |  | ||||||
|         inputs: |  | ||||||
|           command: 'custom' |  | ||||||
|           workingDir: 'EnotaryoPH/EnotaryoPH.Web' |  | ||||||
|           customCommand: 'install --production' |  | ||||||
| 
 |  | ||||||
|       - task: PowerShell@2 |       - task: PowerShell@2 | ||||||
|         inputs: |         inputs: | ||||||
|           targetType: 'inline' |           filePath: 'make.ps1' | ||||||
|           script: | |           arguments: '-OutputDir $(Build.ArtifactStagingDirectory)-linux' | ||||||
|             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)' |  | ||||||
| 
 | 
 | ||||||
|       - task: PublishBuildArtifacts@1 |       - task: PublishBuildArtifacts@1 | ||||||
|         inputs: |         inputs: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user