From 9831906cd37f9b012e9030e782ac7092b7dc81f2 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:48:05 -0800 Subject: [PATCH] use pwsh to list build tool dir --- .github/workflows/build-python-wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-python-wheels.yml b/.github/workflows/build-python-wheels.yml index 277aa4186..c7201d349 100644 --- a/.github/workflows/build-python-wheels.yml +++ b/.github/workflows/build-python-wheels.yml @@ -98,9 +98,9 @@ jobs: # ring crate: add Visual Studio Build Tools "VS 2022 C++ ARM64 build tools" and "clang" components $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin" echo 'Output PowerShell PATH' - pwsh -c '$env:Path' + $env:Path echo 'Checking if build tools exist' - bash -c 'ls -halR 'C:\Program Files *\Microsoft Visual Studio'' + Get-ChildItem -Recurse "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin" exit 1 # fail because we are testing - name: Build wheels