mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-24 21:41:08 +02:00
fix(ci): use renamed Microsoft.ArtifactSigning.Client NuGet package
Microsoft renamed Trusted Signing to Artifact Signing and delisted the old Microsoft.Trusted.Signing.Client package, which broke the setup step. The dlib inside kept its Azure.CodeSigning.Dlib.dll filename; locate it by search instead of a hardcoded path so future package reshuffles fail loudly rather than at a stale path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
71c5034e10
commit
df72bb2b29
1 changed files with 9 additions and 4 deletions
13
.github/workflows/electron-build.yml
vendored
13
.github/workflows/electron-build.yml
vendored
|
|
@ -252,10 +252,15 @@ jobs:
|
|||
$dir = "C:\azsign"
|
||||
New-Item -ItemType Directory -Force -Path $dir | Out-Null
|
||||
|
||||
# The signtool plugin that delegates signing to Azure Trusted Signing.
|
||||
nuget install Microsoft.Trusted.Signing.Client -x -OutputDirectory "$dir\nuget"
|
||||
$dlib = "$dir\nuget\Microsoft.Trusted.Signing.Client\bin\x64\Azure.CodeSigning.Dlib.dll"
|
||||
if (-not (Test-Path $dlib)) { throw "Azure.CodeSigning.Dlib.dll not found at $dlib" }
|
||||
# The signtool plugin that delegates signing to Azure Trusted Signing
|
||||
# (renamed "Artifact Signing" — the old Microsoft.Trusted.Signing.Client
|
||||
# package is gone from NuGet, but the dlib inside kept its filename).
|
||||
nuget install Microsoft.ArtifactSigning.Client -x -OutputDirectory "$dir\nuget"
|
||||
$dlib = Get-ChildItem "$dir\nuget" -Recurse -Filter "Azure.CodeSigning.Dlib.dll" |
|
||||
Where-Object { $_.FullName -match '\\x64\\' } |
|
||||
Select-Object -First 1 -ExpandProperty FullName
|
||||
if (-not $dlib) { throw "x64 Azure.CodeSigning.Dlib.dll not found under $dir\nuget" }
|
||||
echo "Using dlib: $dlib"
|
||||
|
||||
# Tells the dlib which account/profile to sign with.
|
||||
@{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue