Skip to content

Commit 413e669

Browse files
committed
fix publish action
1 parent 974de61 commit 413e669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
21-
pip install matplotlib packaging setuptools twine wheel
21+
pip install build twine wheel
2222
- name: Publish the Python package
2323
env:
2424
TWINE_USERNAME: __token__
2525
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2626
run: |
27-
python setup.py sdist bdist_wheel
27+
python -m build --sdist --wheel --outdir dist/ .
2828
twine upload dist/*

0 commit comments

Comments
 (0)