From 6aa3dcd48bef135bf4e6ca006d31c7494c17b011 Mon Sep 17 00:00:00 2001 From: demianmnave Date: Mon, 18 Nov 2024 22:47:41 -0500 Subject: [PATCH] List contents of the expected path --- .github/workflows/ninja-msvc17.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ninja-msvc17.yml b/.github/workflows/ninja-msvc17.yml index 023e121..9db9030 100644 --- a/.github/workflows/ninja-msvc17.yml +++ b/.github/workflows/ninja-msvc17.yml @@ -18,7 +18,9 @@ jobs: -ArgumentList 'modify', '--add', 'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64', '--quiet', '--wait' Write-Host $modify.ExitCode - $vsbin = 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64' - $clexe = Join-Path $vsbin 'cl.exe' - Test-Path -Path $clexe | Should -Be $true - & $clexe /? \ No newline at end of file + Get-ChildItem -Recurse 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC' + + #$vsbin = 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64' + #$clexe = Join-Path $vsbin 'cl.exe' + #Test-Path -Path $clexe | Should -Be $true + #& $clexe /? \ No newline at end of file