From 1648ccf96e2c70866094844f55c2de2d18b92e08 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 19 Oct 2026 08:57:41 +0200 Subject: [PATCH] Report actual native tool pin mismatches --- .github/scripts/prepare-native-http3.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/prepare-native-http3.ps1 b/.github/scripts/prepare-native-http3.ps1 index 8c79da8d6b..530ca38ce3 100644 --- a/.github/scripts/prepare-native-http3.ps1 +++ b/.github/scripts/prepare-native-http3.ps1 @@ -101,8 +101,9 @@ foreach ($file in $pins.windows.native_files) { default { throw "Unknown native-tool input base '$($file.base)'." } } $path = Join-Path $base $file.path - if ((Get-FileHash -LiteralPath $path -Algorithm SHA256).Hash -ne $file.sha256) { - throw "The accepted MSVC/SDK input differs at '$($file.path)'." + $actualHash = (Get-FileHash -LiteralPath $path -Algorithm SHA256).Hash + if ($actualHash -ne $file.sha256) { + throw "The accepted MSVC/SDK input differs at '$($file.path)' (expected '$($file.sha256)', found '$actualHash')." } }