зеркало из https://github.com/dotnet/razor.git
Capture VSIX and MPack build artifacts (#8)
This commit is contained in:
Родитель
17a95db34f
Коммит
bff3806e01
|
@ -86,7 +86,23 @@ phases:
|
|||
PublishLocation: Container
|
||||
ArtifactName: Packages_$(Agent.Os)_$(Agent.JobName)
|
||||
continueOnError: true
|
||||
condition: always()
|
||||
condition: eq(variables['_BuildConfig'], 'Release')
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish VSIX Artifacts
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/VSSetup/$(_BuildConfig)'
|
||||
PublishLocation: Container
|
||||
ArtifactName: VSIX_$(Agent.Os)_$(Agent.JobName)
|
||||
continueOnError: true
|
||||
condition: eq(variables['_BuildConfig'], 'Release')
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish VS for Mac Artifacts
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/MPack/$(_BuildConfig)'
|
||||
PublishLocation: Container
|
||||
ArtifactName: MPack_$(Agent.Os)_$(Agent.JobName)
|
||||
continueOnError: true
|
||||
condition: eq(variables['_BuildConfig'], 'Release')
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish Logs
|
||||
inputs:
|
||||
|
|
Загрузка…
Ссылка в новой задаче