From 6c9770d3d0e0f9d089b81b5e8446bccbc4efaeb9 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Tue, 21 Nov 2023 04:42:08 -0800 Subject: [PATCH] try setting path var at system-level --- .github/workflows/build-python-wheels.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-python-wheels.yml b/.github/workflows/build-python-wheels.yml index db9ba5982..7c1093a45 100644 --- a/.github/workflows/build-python-wheels.yml +++ b/.github/workflows/build-python-wheels.yml @@ -58,7 +58,11 @@ jobs: - os: windows-2022 target: aarch64-pc-windows-msvc - shell: bash + build: | + [Environment]::SetEnvironmentVariable( + "Path", + [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::Machine) + ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin", + [EnvironmentVariableTarget]::Machine) - os: ubuntu-22.04 target: x86_64-unknown-linux-gnu