Permalink
Browse files

Update azure-pipelines.yml

  • Loading branch information...
onovotny committed Nov 8, 2018
1 parent 502963d commit 0a48a017d9d29e693ae9a4c4a1c8a5620ebc59ff
Showing with 4 additions and 8 deletions.
  1. +4 −8 azure-pipelines.yml
@@ -2,6 +2,10 @@ trigger:
- master
- rel/*

pr:
- master
- rel/*

pool:
vmImage: vs2017-win2016

@@ -19,11 +23,9 @@ steps:
custom: tool
arguments: install --tool-path . nbgv
displayName: Install NBGV tool
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- script: nbgv cloud
displayName: Set Version
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- script: build.cmd
displayName: Build
@@ -39,40 +41,34 @@ steps:
Contents: 'artifacts/*.nupkg'
TargetFolder: '$(build.artifactstagingdirectory)\packages'
flattenFolders: true
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: '$(build.artifactstagingdirectory)\packages'
artifactType: container
artifactName: Packages
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: CopyFiles@2
inputs:
Contents: '**/bin/*'
TargetFolder: '$(build.artifactstagingdirectory)\binaries'
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: PublishBuildArtifacts@1
displayName: Publish Binaries
inputs:
pathToPublish: '$(build.artifactstagingdirectory)\binaries'
artifactType: container
artifactName: Binaries
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: CopyFiles@2
inputs:
Contents: 'src/ReactiveUI.**/Events_*.cs'
TargetFolder: '$(build.artifactstagingdirectory)\Events'
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: PublishBuildArtifacts@1
displayName: Publish Generated Events
inputs:
pathToPublish: '$(build.artifactstagingdirectory)\Events'
artifactType: container
artifactName: Events
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

0 comments on commit 0a48a01

Please sign in to comment.