Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
timenick 2020-02-04 14:14:51 +08:00
Родитель f076dfffd9
Коммит 02de60ab6e
1 изменённых файлов: 10 добавлений и 1 удалений

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

@ -33,6 +33,14 @@ steps:
displayName: 'npm install, build and run tests'
workingDirectory: libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat
- task: Npm@1
displayName: 'npm pack botframework-wechat'
inputs:
command: custom
workingDir: 'libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat'
verbose: false
customCommand: pack
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
inputs:
@ -41,8 +49,9 @@ steps:
- task: CopyFiles@2
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
inputs:
SourceFolder: ./.output
SourceFolder: libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat
Contents: '**/*.tgz'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
flattenFolders: true