We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0f2d3 commit c8a4771Copy full SHA for c8a4771
windows-release/sign-files.yml
@@ -12,7 +12,10 @@ steps:
12
- ${{ if parameters.SigningCertificate }}:
13
- powershell: |
14
dotnet tool install --global --prerelease sign
15
- $signtool = (gcm sign).Source
+ $signtool = (gcm sign -EA SilentlyContinue).Source
16
+ if (-not $signtool) {
17
+ $signtool = (gi "${env:USERPROFILE}\.dotnet\tools\sign.exe").FullName
18
+ }
19
$signargs = 'code trusted-signing -v Information ' + `
20
'-fd sha256 -t http://timestamp.acs.microsoft.com -td sha256 ' + `
21
'-tse "$(TrustedSigningUri)" -tsa "$(TrustedSigningAccount)" -tscp "$(TrustedSigningCertificateName)" ' + `
0 commit comments