Skip to content

Commit

Permalink
[CI] Fix GithubActions failure on removing existing certificates from…
Browse files Browse the repository at this point in the history
… store (#28)

Removed obsolete PS1 command to empty the store
  • Loading branch information
hugsy authored Mar 23, 2024
1 parent dcac04f commit 110b4eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$<TARGET_FILE_DIR:${PROJECT_NAME}>/BlahCatTest.cer"
COMMAND
signtool.exe sign /v /a /fd SHA256 /s ${CFB_CERT_STORE} /n "${CFB_CERT_CN}" $<TARGET_FILE:${PROJECT_NAME}>
Expand Down

0 comments on commit 110b4eb

Please sign in to comment.