如何在管道中安装Microsoft Bot Framework工具,然后使用



任何人都能提供一个YAML示例,说明如何在Azure管道中安装Microsoft Bot Framework CLI工具,然后将其与PowerShell脚本一起使用吗https://github.com/microsoft/botframework-solutions/blob/master/templates/csharp/VA/VA/Deployment/Scripts/update_cognitive_models.ps1在里面https://github.com/microsoft/botframework-solutions?

您可以使用NPM任务安装工具,然后使用标准命令行任务执行命令。它应该是这样的:

steps:
(...)
- task: Npm@1
inputs:
command: 'custom'
customCommand: 'install -g @microsoft/botframework-cli'
verbose: true
- task: CmdLine@1
inputs:
script: 'bf {your-command-here}'
(...)

最新更新