Skip to content

Commit 934e01e

Browse files
committed
ci: update PyPI publishing configuration
1 parent 82ffce3 commit 934e01e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,16 @@ jobs:
107107
python -m build
108108
twine check dist/*
109109
110-
- name: Publish to PyPI
110+
- name: Build and publish
111111
env:
112112
TWINE_USERNAME: __token__
113113
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
114114
run: |
115+
python -m pip install --upgrade pip
116+
pip install build twine
117+
python -m build
115118
twine upload dist/*
116-
119+
117120
- name: Create GitHub Release
118121
uses: softprops/action-gh-release@v1
119122
with:

0 commit comments

Comments
 (0)