Skip to content

Commit 1c6aa65

Browse files
Fixed pypi upload step for linux and macOS
1 parent 2c78eef commit 1c6aa65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ jobs:
335335
- name: Publish package to (Test)PyPI
336336
if: needs.prepare.outputs.is_release_build == 'true' && startsWith( matrix.p, 'manylinux' )
337337
run: |
338-
sudo pip3 install "twine==6.0.1"
338+
python3 -m pip install "twine==6.0.1"
339339
python3 -m twine upload --non-interactive --skip-existing dist/*
340340
341341
@@ -434,7 +434,7 @@ jobs:
434434
- name: Publish package to (Test)PyPI
435435
if: needs.prepare.outputs.is_release_build == 'true'
436436
run: |
437-
sudo pip3 install twine
437+
python3 -m pip install twine
438438
python3 -m twine upload --non-interactive --skip-existing wheelhouse/*
439439
440440

0 commit comments

Comments
 (0)