Skip to content

Commit 138390f

Browse files
committed
Revert "Update .github/workflows/build-test-windows.yml"
This reverts commit 6a89005.
1 parent 01429d5 commit 138390f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ jobs:
4646
run: |
4747
cd ${{ env.NEW_WORKSPACE }}
4848
49-
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat"
49+
cmd /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 && set' | ForEach-Object {
50+
if ($_ -match '^(.*?)=(.*)$') {
51+
[Environment]::SetEnvironmentVariable($matches[1], $matches[2])
52+
}
53+
}
5054
5155
cd python
5256
pip install -U wheel pybind11 certifi cython cmake setuptools>=65.6.1

0 commit comments

Comments
 (0)