Skip to content

Commit d890bdb

Browse files
committed
fix screw-up where the venv creation stage was removed
1 parent bad62c2 commit d890bdb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ jobs:
180180
if: runner.os != 'Windows'
181181
run: cd ${{ github.workspace }}/python/framework && CMAKE_GENERATOR="${{ matrix.generator }}" PCCL_BUILD_CUDA_SUPPORT=${{ matrix.pccl_build_cuda_support }} pip3 wheel --verbose -w dist .
182182

183+
- name: Create Python virtual environment (Unix)
184+
if: ${{ runner.os != 'Windows' && matrix.is_host_arch }}
185+
run: python3 -m venv ${{ github.workspace }}/venv
186+
183187
- name: Prepare local artifacts directory
184188
run: |
185189
mkdir -p artifacts/libpccl
@@ -212,8 +216,6 @@ jobs:
212216
source ${{ github.workspace }}/venv/bin/activate
213217
pip install --upgrade pip setuptools wheel twine
214218
215-
216-
217219
- name: Store the wheel packages
218220
uses: actions/upload-artifact@v4
219221
with:

0 commit comments

Comments
 (0)