zipAfterPublish
属性(另请参见
this page
),与
modifyOutputPath
财产。
- task: DotNetCoreCLI@2
displayName: 'dotnet publish'
inputs:
command: 'publish'
publishWebProjects: false
projects: 'src/myproj/*.csproj'
arguments: -o $(build.artifactStagingDirectory)
zipAfterPublish: false
modifyOutputPath: false