Skip to content

Commit baa2f70

Browse files
committed
Lookup for code sign tool in App Certification Kit folder.
When there is at least one version of the Windows SDK installed, this folder is guaranteed to be present (the App Certification Kit is installed along the windows SDK).
1 parent 44b5936 commit baa2f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
uses: microsoft/[email protected]
154154
- name: Setup code sign environment
155155
run: |
156-
echo "$(Split-Path -Path $(Get-ChildItem -Path ${env:ProgramFiles(x86)} -Recurse -Filter 'signtool.exe' | Where-Object FullName -like '*10.0.*\x64\signtool.exe').FullName)" >> $env:GITHUB_PATH
156+
echo "$(Split-Path -Path $(Get-ChildItem -Path "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe"))" >> $env:GITHUB_PATH
157157
echo "pfxcert=$([string](Get-Location)+'\CodeSignCertificate.pfx')" >> $env:GITHUB_ENV
158158
- name: Prepare ccache
159159
uses: actions/cache@v2

0 commit comments

Comments
 (0)