Skip to content

Commit 5f7248d

Browse files
committed
recover missing lines in python win workflow
1 parent ca6e051 commit 5f7248d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- name: Edit pyproject
4848
run: |
4949
ls
50-
METIS_ROOT="${{ runner.workspace }}/installs"
5150
sed -i '' '/cmake\.args = \[/,/\]/{
5251
s|"-DPYTHON_BUILD_SETUP=ON"|"-DPYTHON_BUILD_SETUP=ON",\
5352
"-DHIPO=ON"|

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
- name: Edit pyproject
4949
run: |
5050
ls
51+
52+
53+
$content = Get-Content pyproject.toml -Raw
54+
$newContent = $content -replace 'cmake\.args = \[\s*"-DPYTHON_BUILD_SETUP=ON"\s*\]', @"
5155
cmake.args = [
5256
"-DPYTHON_BUILD_SETUP=ON",
5357
"-DHIPO=ON",

0 commit comments

Comments
 (0)