fix: debug installer signing — log path and list exe files
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 2m44s
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 2m44s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
15ee82ef53
commit
24e5bcbf4d
@ -105,12 +105,18 @@ jobs:
|
||||
$env:Path = "$env:EXTRA_PATH;$env:Path"
|
||||
$ver = ("${{ github.ref_name }}" -replace '^v','')
|
||||
$token = [System.IO.File]::ReadAllText("$env:TEMP\aztoken.txt")
|
||||
$binaries = @("src-tauri\target\release\Wraith.exe", "Wraith_" + $ver + "_x64-setup.exe")
|
||||
$installer = "Wraith_" + $ver + "_x64-setup.exe"
|
||||
Write-Host "Looking for installer: $installer"
|
||||
Write-Host "Current dir: $(Get-Location)"
|
||||
Get-ChildItem *.exe -ErrorAction SilentlyContinue
|
||||
$binaries = @("src-tauri\target\release\Wraith.exe", $installer)
|
||||
foreach ($path in $binaries) {
|
||||
if (Test-Path $path) {
|
||||
Write-Host "Signing: $path"
|
||||
java -jar jsign.jar --storetype AZUREKEYVAULT --keystore "${{ secrets.AZURE_KEY_VAULT_URL }}" --storepass $token --alias "${{ secrets.AZURE_CERT_NAME }}" --tsaurl http://timestamp.digicert.com --tsmode RFC3161 $path
|
||||
Write-Host "Signed."
|
||||
} else {
|
||||
Write-Host "NOT FOUND: $path"
|
||||
}
|
||||
}
|
||||
Remove-Item "$env:TEMP\aztoken.txt" -ErrorAction SilentlyContinue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user