Skip to content
TypeScript

fix(release): install the correct Windows Spectre component (#9859)

maria1665d81bb5d7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 517a2fdb2ad..2785ecb8fa7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -521,7 +521,7 @@ jobs:
$setupExe = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe"
$proc = Start-Process -FilePath $setupExe `
-ArgumentList "modify", "--installPath", "`"$installPath`"", "--add", `
- "Microsoft.VisualStudio.Component.VC.Tools.x86.x64.Spectre", "--quiet", "--norestart" `
+ "Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre", "--quiet", "--norestart" `
-Wait -PassThru -NoNewWindow
if ($null -eq $proc -or $proc.ExitCode -ne 0) {
$code = if ($null -ne $proc) { $proc.ExitCode } else { 1 }