Build only projects which are changed in a solution -Azure CI pipeline - YAML

后端 未结 2 1845
梦谈多话
梦谈多话 2021-01-29 07:45

I have multiple projects under a solution,

ProjectA.csproj
projectB.csproj
projectC.csproj

I have created a YAML CI build pipeline for this sol

2条回答
  •  失恋的感觉
    2021-01-29 08:27

    Add the allowPackageConflicts input. It allows publish of just a single project in the solution. Only projects with an updated version number is published.

    # publish to artifacts:
    - task: NuGetCommand@2
      inputs:
        command: 'push'
        allowPackageConflicts: true
    

提交回复
热议问题