Skip to content

Commit

Permalink
test_windows_signing: install for u (#9776)
Browse files Browse the repository at this point in the history
Turns out "`--global`" means "for this user".

CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
garyverhaegen-da authored May 21, 2021
1 parent ed36caa commit 45bca6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
artifactName: test-signing
targetPath: $(Build.StagingDirectory)/test-signing
- bash: |
azuresigntool sign \
"/C/Program Files/dotnet/dotnet.exe" tool install --global AzureSignTool
/C/Users/u/.dotnet/tools/azuresigntool sign \
--azure-key-vault-url "$AZURE_KEY_VAULT_URL" \
--azure-key-vault-client-id "$AZURE_CLIENT_ID" \
--azure-key-vault-client-secret "$AZURE_CLIENT_SECRET" \
Expand Down
1 change: 0 additions & 1 deletion infra/vsts_agent_windows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ locals {
assignment = "windows-signing",
install = <<INSTALL
& choco install dotnetcore-2.1-sdk --no-progress --yes 2>&1 | %%{ "$_" }
& "C:\Program Files\dotnet\dotnet.exe" tool install --global AzureSignTool
INSTALL
}
]
Expand Down

0 comments on commit 45bca6e

Please sign in to comment.