Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkp committed Jan 21, 2019
2 parents a044d31 + e31a92a commit ffd364f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,30 @@ variables:
buildConfiguration: 'Release'

steps:
- task: DotNetCoreInstaller@0
displayName: install dotnet 2.1.401
inputs:
packageType: 'sdk'
version: '2.1.401'

- script: dotnet build LetsEncrypt.Azure.DotNetCore.sln --configuration $(buildConfiguration)
displayName: 'dotnet build LetsEncrypt.Azure.DotNetCore.sln $(buildConfiguration)'

- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: 'test/**/*.csproj'

- task: DotNetCoreCLI@2
displayName: dotnet pack
inputs:
command: pack
packagesToPack: 'LetsEncrypt.Azure.Core.V2/*.csproj'
packDirectory: '$(Build.ArtifactStagingDirectory)/packages'

- task: PublishBuildArtifacts@1
displayName: publish artifacts
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'

0 comments on commit ffd364f

Please sign in to comment.