From 4d2ae169758d8ee3174fc8eaf3a2368ab40fbb3a Mon Sep 17 00:00:00 2001 From: FaulMit <48646918+FaulMit@users.noreply.github.com> Date: Wed, 22 Jul 2026 18:45:57 +0200 Subject: [PATCH] Fix clean runner release restore --- tools/BuildRelease.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/BuildRelease.ps1 b/tools/BuildRelease.ps1 index 4bdcc48..d5d0c55 100644 --- a/tools/BuildRelease.ps1 +++ b/tools/BuildRelease.ps1 @@ -47,7 +47,10 @@ foreach ($path in @($stagingRoot, $portableArchive, $setupPath, $checksumPath)) New-Item -ItemType Directory -Force -Path $publishDirectory | Out-Null Write-Host "Publishing Captail $Version..." -dotnet restore $project --locked-mode --artifacts-path $dotnetArtifacts +dotnet restore $project ` + --locked-mode ` + --runtime win-x64 ` + --artifacts-path $dotnetArtifacts if ($LASTEXITCODE -ne 0) { throw "dotnet restore failed with exit code $LASTEXITCODE." }