From baa2f701daaa790220f2fdf90505732682aa13c9 Mon Sep 17 00:00:00 2001 From: Fotis Koutoulakis Date: Mon, 29 Mar 2021 20:02:36 +0100 Subject: [PATCH] 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). --- .github/workflows/release-packages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-packages.yaml b/.github/workflows/release-packages.yaml index 38d6498e567..e1540c45fde 100644 --- a/.github/workflows/release-packages.yaml +++ b/.github/workflows/release-packages.yaml @@ -153,7 +153,7 @@ jobs: uses: microsoft/setup-msbuild@v1.0.2 - name: Setup code sign environment run: | - 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 + echo "$(Split-Path -Path $(Get-ChildItem -Path "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe"))" >> $env:GITHUB_PATH echo "pfxcert=$([string](Get-Location)+'\CodeSignCertificate.pfx')" >> $env:GITHUB_ENV - name: Prepare ccache uses: actions/cache@v2