Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
Now wrapping everything into a zip file
  • Loading branch information
Baudin999 committed Dec 28, 2019
1 parent 88a20ee commit 0814aea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ variables:

steps:
- task: UseDotNet@2
displayName: 'Select right dotnet version'
inputs:
version: '3.0.x'
- script: dotnet build --configuration $(buildConfiguration)
displayName: 'dotnet build $(buildConfiguration)'
- script: dotnet test
displayName: 'dotnet test'
- task: DotNetCoreCLI@2
displayName: 'dotnet publish'
inputs:
command: 'publish'
publishWebProjects: false
projects: './CLI'
arguments: '-c Release --runtime "linux-x64" --self-contained -o $(build.artifactstagingdirectory)'
zipAfterPublish: false
zipAfterPublish: true
modifyOutputPath: false
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
Expand Down

0 comments on commit 0814aea

Please sign in to comment.