Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoonlight committed Jul 19, 2019
1 parent 15aef67 commit a8fd3f1
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit a8fd3f1

Please sign in to comment.