From 86c41d3c92a6e2fed9b54a234c35652c138070aa Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:32:26 -0800 Subject: [PATCH] try setting PATH at the wheel build step --- .github/workflows/build-python-wheels.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-python-wheels.yml b/.github/workflows/build-python-wheels.yml index 923c430f4..dd4f1e7b3 100644 --- a/.github/workflows/build-python-wheels.yml +++ b/.github/workflows/build-python-wheels.yml @@ -58,8 +58,6 @@ jobs: - os: windows-2022 target: aarch64-pc-windows-msvc - build: | - $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin" - os: ubuntu-22.04 target: x86_64-unknown-linux-gnu @@ -97,6 +95,7 @@ jobs: - name: Build wheels uses: PyO3/maturin-action@b9e8f88fd4448fdecf5095864cdc7e39a544aa9f # v1.40.7 with: + env: PATH="$PATH:/c/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin" target: ${{ matrix.settings.target }} args: --release --find-interpreter --sdist sccache: 'true'