forked from CringeStudios/element-desktop
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
1b4fc88edf
commit
8598680a87
BIN
.github/SSLcom-sandbox.crt
vendored
BIN
.github/SSLcom-sandbox.crt
vendored
Binary file not shown.
16
.github/workflows/build_windows.yaml
vendored
16
.github/workflows/build_windows.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user