From 2459a7a7a924e69fd00e9646a1058cd876d50dfb Mon Sep 17 00:00:00 2001 From: Fotis Koutoulakis Date: Wed, 24 Mar 2021 10:12:02 +0000 Subject: [PATCH] Remove fixed windows SDK version lookup. Before this, we were looking for the codesign tool under a specific folder, signifying a specific version of the Windows SDK. But Github Action Runner Software is being updated every now and then, causing this dependency to be wobbly. This should make the tool lookup more robust for future SDK version updates as well. --- .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 d21184ea1f3..38d6498e567 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.19041.0\x64\signtool.exe').FullName)" >> $env:GITHUB_PATH + 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 "pfxcert=$([string](Get-Location)+'\CodeSignCertificate.pfx')" >> $env:GITHUB_ENV - name: Prepare ccache uses: actions/cache@v2