Capture VSIX and MPack build artifacts (#8)

This commit is contained in:
Nate McMaster 2018-12-04 11:40:11 -08:00 коммит произвёл GitHub
Родитель 17a95db34f
Коммит bff3806e01
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 18 добавлений и 2 удалений

Просмотреть файл

@ -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:
@ -169,4 +185,4 @@ phases:
continueOnError: true
condition: always()
variables:
_HelixBuildConfig: $(_BuildConfig)
_HelixBuildConfig: $(_BuildConfig)