Skip to content

Commit 1c70412

Browse files
committed
Use python virtual environment
1 parent 487dffa commit 1c70412

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/python_wheel_build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
- name: Set up Python
3434
uses: actions/setup-python@v5
3535

36+
- name: Set up Python Virtual Environment
37+
run: |
38+
python -m venv /py-venv/cibuildwheel-env
39+
. /py-venv/cibuildwheel-env/bin/activate
40+
echo PATH=$PATH >> $GITHUB_ENV
41+
3642
- name: Update repositories
3743
run: apt-get update
3844

0 commit comments

Comments
 (0)