From 110b4eba8772598d0250f9a13ed70ea9e71b1830 Mon Sep 17 00:00:00 2001 From: crazy hugsy Date: Sat, 23 Mar 2024 12:10:41 -0700 Subject: [PATCH] [CI] Fix GithubActions failure on removing existing certificates from store (#28) Removed obsolete PS1 command to empty the store --- Driver/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Driver/CMakeLists.txt b/Driver/CMakeLists.txt index dcaabc8..b909b5a 100644 --- a/Driver/CMakeLists.txt +++ b/Driver/CMakeLists.txt @@ -76,8 +76,6 @@ add_custom_command( add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD COMMAND - powershell -ep bypass "Get-ChildItem -Recurse Cert:\\CurrentUser | Where-Object { $_.Subject -match '${CFB_CERT_CN}' } | Remove-Item" - COMMAND makecert.exe -r -pe -ss ${CFB_CERT_STORE} -n CN="${CFB_CERT_CN}" -eku 1.3.6.1.5.5.7.3.3 "$/BlahCatTest.cer" COMMAND signtool.exe sign /v /a /fd SHA256 /s ${CFB_CERT_STORE} /n "${CFB_CERT_CN}" $