Skip to content

Commit 6beae4a

Browse files
committed
try
1 parent eefdc5b commit 6beae4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-python-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ jobs:
4949
run: |
5050
ls
5151
$VCPKG_ROOT = "C:/vcpkg"
52-
$METIS_ROOT = "${{ runner.workspace }}/installs"
52+
$METIS_ROOT = Join-Path "${{ runner.workspace }}" "installs"
5353
$TRIPLET = "x64-windows-static"
5454
$content = Get-Content pyproject.toml -Raw
5555
$newContent = $content -replace 'cmake\.args = \[\s*"-DPYTHON_BUILD_SETUP=ON"\s*\]', @"
5656
cmake.args = [
5757
"-DPYTHON_BUILD_SETUP=ON",
5858
"-DHIPO=ON",
59-
"-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT",
59+
"-DCMAKE_TOOLCHAIN_FILE='$VCPKG_ROOT'",
6060
"-DVCPKG_TARGET_TRIPLET=$TRIPLET",
61-
"-DMETIS_ROOT=$METIS_ROOT"
61+
"-DMETIS_ROOT='$METIS_ROOT'"
6262
]
6363
"@
6464
$newContent | Set-Content pyproject.toml

0 commit comments

Comments
 (0)