Skip to content

Commit

Permalink
Publish Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sampson committed Nov 18, 2018
1 parent bb7d0f4 commit 0a06157
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pool:
variables:
buildConfiguration: Release
buildPlatform: Any CPU
solution: '.\src\Caliburn.Micro.sln'
solution: 'src\Caliburn.Micro.sln'

steps:
- task: DotNetCoreCLI@2
Expand All @@ -19,7 +19,7 @@ steps:

- script: nbgv cloud
displayName: Set Version

- task: VSBuild@1
displayName: Nuget Restore
inputs:
Expand All @@ -41,3 +41,15 @@ steps:
testAssemblyVer2: 'bin\**\*.Tests.dll'
configuration: '$(buildConfiguration)'
platform: '$(buildPlatform)'

- task: CopyFiles@2
displayName: Copy Packages to Artifact Directory
inputs:
Contents: 'packages\*.nupkg'
TargetFolder: '$(build.artifactStagingDirectory)\packages'

- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: '$(build.artifactStagingDirectory)\packages'
artifactName: Packages

0 comments on commit 0a06157

Please sign in to comment.