Update build_windows.yaml

This commit is contained in:
Michael Telatynski 2025-02-18 09:44:25 +00:00 committed by GitHub
parent 2b88c345a7
commit 58c531a7f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,12 +181,11 @@ jobs:
Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath .github/SSLcom-sandbox.crt Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath .github/SSLcom-sandbox.crt
- name: Check app was signed successfully - name: Check app was signed successfully
if: inputs.sign
run: | run: |
Set-StrictMode -Version 'Latest' Set-StrictMode -Version 'Latest'
Get-ChildItem ` Get-ChildItem `
-Recurse dist ` -Recurse dist `
-Include *.exe, *.msi ` -Include *.exe, *.msi `
| ForEach-Object -Process {. 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe' verify /pa $_.FullName; if(!$?) { throw }} | ForEach-Object -Process {. 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe' verify /pa $_.FullName; if(!$?) { throw }}
- name: Upload Artifacts - name: Upload Artifacts