Skip to content

Commit 25618c0

Browse files
author
Ayush Jha
committed
Fix issue with building wheel
1 parent 76e9cba commit 25618c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
export PATH="$HOME/.pyenv/versions/$(cat .python-version)/bin:$PATH"
191191
if test -d .env/bin/; then source .env/bin/activate; else source .env/Scripts/activate; fi
192192
maturin list-python
193-
PYTHON_INTERPRETER=$(maturin list-python | grep -o "CPython $(cat .python-version | grep -o -E '^[^\.]+\.[^\.]+').* at .*" | cut -d' ' -f 4 | tr '\\' '/')
193+
PYTHON_INTERPRETER=$(maturin list-python 2>&1 | grep -o "CPython $(cat .python-version | grep -o -E '^[^\.]+\.[^\.]+').* at .*" | cut -d' ' -f 4 | tr '\\' '/')
194194
echo "Selected interpreter: ${PYTHON_INTERPRETER}"
195195
just build-all-wheels "${PYTHON_INTERPRETER}" "${{ matrix.target.target-name }}"
196196
just build-any-wheel

0 commit comments

Comments
 (0)