Skip to content

Commit 6a89005

Browse files
anmyachevpbchekin
andauthored
Update .github/workflows/build-test-windows.yml
Co-authored-by: Pavel Chekin <[email protected]>
1 parent c994daa commit 6a89005

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@ jobs:
4646
run: |
4747
cd ${{ env.NEW_WORKSPACE }}
4848
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-
}
49+
Invoke-BatchFile "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat"
5450
5551
cd python
5652
pip install -U wheel pybind11 certifi cython cmake setuptools>=65.6.1

0 commit comments

Comments
 (0)