Skip to content

Commit afd79c2

Browse files
committed
fix: package publish
1 parent c9eb24e commit afd79c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
python-version: '3.x'
2020
- name: Install dependencies
2121
run: |
22-
python -m pip install --upgrade pip
22+
python -m pip install --upgrade pip build
2323
pip install setuptools wheel twine
2424
- name: Build and publish
2525
env:
2626
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2727
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2828
run: |
29-
python setup.py sdist bdist_wheel
30-
twine upload dist/*
29+
python -m build
30+
python -m twine upload dist/*

0 commit comments

Comments
 (0)