publish artifacts
This commit is contained in:
Родитель
39b8f54aa6
Коммит
5cba7a16d7
17
.vsts-ci.yml
17
.vsts-ci.yml
|
@ -22,3 +22,20 @@ phases:
|
|||
npm install
|
||||
make
|
||||
displayName: 'Run make'
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
SourceFolder: $(build.sourcesdirectory)/dist
|
||||
Contents: '*.*'
|
||||
TargetFolder: $(build.artifactstagingdirectory)/dist
|
||||
CleanTargetFolder: false
|
||||
OverWrite: false
|
||||
flattenFolders: false
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
# https://developercommunity.visualstudio.com/content/problem/284991/public-vsts-previouw-cant-set-build-number-of-pr-b.html
|
||||
condition: eq(variables['System.PullRequest.IsFork'], 'False')
|
||||
inputs:
|
||||
PathtoPublish: $(build.artifactstagingdirectory)
|
||||
ArtifactName: drop
|
||||
ArtifactType: Container
|
Загрузка…
Ссылка в новой задаче