Skip to content

Commit 0ce82e8

Browse files
authored
[CI] Fix failed Python build extension CI (#1928)
1 parent 585fc23 commit 0ce82e8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/python-extension.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,13 @@ jobs:
6262
- name: Install dependencies
6363
run: |
6464
cd python
65-
pipenv --python ${{ matrix.python }}
66-
pipenv install --dev
65+
if [[ "$RUNNER_OS" == "Windows" ]]; then
66+
PYTHON_EXE_PATH="$pythonLocation/python.exe"
67+
else
68+
PYTHON_EXE_PATH="$pythonLocation/python"
69+
fi
70+
echo "Using Python executable at: $PYTHON_EXE_PATH"
71+
pipenv install --dev --python "$PYTHON_EXE_PATH"
6772
- name: Build extension
6873
run: |
6974
cd python

0 commit comments

Comments
 (0)