Skip to content

Commit fe3232b

Browse files
committed
fix: install twine in publish jobs
- Add 'pip install twine' step to both TestPyPI and PyPI publish jobs - Fixes 'twine: command not found' error - Required for uploading packages to PyPI
1 parent 46daf54 commit fe3232b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
name: python-package-distributions
5959
path: dist/
6060

61+
- name: Install twine
62+
run: pip install twine
63+
6164
- name: Publish to TestPyPI
6265
env:
6366
TWINE_USERNAME: __token__
@@ -81,6 +84,9 @@ jobs:
8184
name: python-package-distributions
8285
path: dist/
8386

87+
- name: Install twine
88+
run: pip install twine
89+
8490
- name: Publish to PyPI
8591
env:
8692
TWINE_USERNAME: __token__

0 commit comments

Comments
 (0)