【发布时间】:2021-03-30 11:30:32
【问题描述】:
我在一个简单的 yaml 管道中有一个步骤来安装 Azure 签名工具。 它安装在这里,但我无权访问/home/vsts/work/1/s。 有什么方法可以将 Azure 签名工具安装到本地。
也许添加一个本地路径变量 EF_BUILD_REPOSITORY_LOCAL 并将其设置到我的 C:\temp 文件夹?这行得通吗?
- task: DotNetCoreCLI@2
inputs:
command: 'custom'
custom: 'tool'
arguments: 'install azuresigntool --tool-path $($env:EF_BUILD_REPOSITORY_LOCALPATH) -v diag'
displayName: Install AzureSignTool
【问题讨论】:
标签: azure-devops yaml