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
jzebedee committed Oct 5, 2019
1 parent 481120a commit 8697ead
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ variables:
buildConfiguration: 'Release'

steps:
- task: DotNetCoreInstaller@0
- task: UseDotNet@2
displayName: 'Use .NET Core sdk >=3.x'
inputs:
version: '3.0.100'
packageType: sdk
version: 3.x
- task: DotNetCoreCLI@2
displayName: Build
inputs:
command: build
projects: '**/*.csproj'
arguments: '--configuration $(buildConfiguration)'
arguments: '--configuration $(buildConfiguration) -o $(Build.ArtifactStagingDirectory)'
- task: DotNetCoreCLI@2
inputs:
command: test
Expand All @@ -31,12 +33,6 @@ steps:
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
- task: DotNetCoreCLI@2
displayName: Publish
inputs:
command: publish
projects: 'src/**/*.csproj'
arguments: '--configuration $(buildConfiguration) -o $(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)
Expand Down

0 comments on commit 8697ead

Please sign in to comment.