fix: debug installer signing — log path and list exe files
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:
Vantz Stockwell 2026-03-18 02:07:37 -04:00
parent 15ee82ef53
commit 24e5bcbf4d

View File

@ -105,12 +105,18 @@ jobs:
$env:Path = "$env:EXTRA_PATH;$env:Path" $env:Path = "$env:EXTRA_PATH;$env:Path"
$ver = ("${{ github.ref_name }}" -replace '^v','') $ver = ("${{ github.ref_name }}" -replace '^v','')
$token = [System.IO.File]::ReadAllText("$env:TEMP\aztoken.txt") $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) { foreach ($path in $binaries) {
if (Test-Path $path) { if (Test-Path $path) {
Write-Host "Signing: $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 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." Write-Host "Signed."
} else {
Write-Host "NOT FOUND: $path"
} }
} }
Remove-Item "$env:TEMP\aztoken.txt" -ErrorAction SilentlyContinue Remove-Item "$env:TEMP\aztoken.txt" -ErrorAction SilentlyContinue