Skip to content

Commit 926d98b

Browse files
pwsh
1 parent 5171383 commit 926d98b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ jobs:
190190

191191
- name: Install Spectre-mitigated MSVC libs
192192
if: matrix.platform == 'win'
193-
shell: bash
193+
shell: pwsh
194194
run: |
195-
vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
196-
installPath = & $vswhere -products * -latest -property installationPath
197-
setupExe = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe"
198-
Start-Process -FilePath $setupExe `
199-
-ArgumentList "modify", "--installPath", "`"$installPath`"", "--add", `
200-
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64.Spectre", "--quiet", "--norestart" `
201-
-Wait -PassThru -NoNewWindow
195+
$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
196+
$installPath = & $vswhere -products * -latest -property installationPath
197+
$setupExe = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\setup.exe"
198+
Start-Process -FilePath $setupExe `
199+
-ArgumentList "modify", "--installPath", "`"$installPath`"", "--add", `
200+
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64.Spectre", "--quiet", "--norestart" `
201+
-Wait -PassThru -NoNewWindow
202202
203203
- name: Build desktop artifact
204204
shell: bash

0 commit comments

Comments
 (0)