Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-02-13 15:14:33 +00:00
parent 1b4fc88edf
commit 8598680a87
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
2 changed files with 6 additions and 10 deletions

Binary file not shown.

View File

@ -179,19 +179,15 @@ jobs:
if: inputs.sign == ''
run: |
Set-StrictMode -Version 'Latest'
Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath ./.github/SSLcom-sandbox.crt
# - name: Check signature is present
# run: |
# $sigs = Get-AuthenticodeSignature (get-item ./dist/win-*unpacked/*.exe)
# . "$env:SIGNTOOL_PATH" verify /pa (get-item ./dist/squirrel-windows*/*.exe)
# . "$env:SIGNTOOL_PATH" verify /pa (get-item ./dist/*.msi)
Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath .github/SSLcom-sandbox.crt
- name: Check app was signed successfully
run: |
. "$env:SIGNTOOL_PATH" verify /pa (get-item ./dist/win-*unpacked/*.exe)
. "$env:SIGNTOOL_PATH" verify /pa (get-item ./dist/squirrel-windows*/*.exe)
. "$env:SIGNTOOL_PATH" verify /pa (get-item ./dist/*.msi)
Set-StrictMode -Version 'Latest'
Get-ChildItem `
-Recurse "." `
-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 }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4