From a8fd3f1aab5127061ce7faf06eacaa2492cefabc Mon Sep 17 00:00:00 2001 From: TMOONLIGHT Date: Fri, 19 Jul 2019 23:42:20 +0800 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d2192b7..f845c41 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -45,13 +45,14 @@ steps: displayName: Create build directory workingDirectory: '$(System.DefaultWorkingDirectory)/' -# - task: DotNetCoreCLI@2 -# inputs: -# command: 'publish' -# publishWebProjects: false -# projects: './src/NSmartProxy.ServerHost/NSmartProxy.ServerHost.csproj' -# arguments: ' --output $(System.DefaultWorkingDirectory)/build/nspserver' -# workingDirectory: '$(System.DefaultWorkingDirectory)/' +- task: DotNetCoreCLI@2 + inputs: + command: 'publish' + publishWebProjects: false + projects: './src/NSmartProxy.ServerHost/NSmartProxy.ServerHost.csproj' + arguments: ' --output $(System.DefaultWorkingDirectory)/build/nspserver' + workingDirectory: '$(System.DefaultWorkingDirectory)/' + zipAfterPublish: false - task: DotNetCoreCLI@2 inputs: @@ -60,13 +61,7 @@ steps: projects: './src/NSmartProxyClient/NSmartProxyClient.csproj' arguments: ' --output $(System.DefaultWorkingDirectory)/build/nspclient' workingDirectory: '$(System.DefaultWorkingDirectory)/' - -- task: Bash@3 - inputs: - targetType: 'inline' - script: | - ls - workingDirectory: '$(System.DefaultWorkingDirectory)/build/nspclient' + zipAfterPublish: false - task: Bash@3