Skip to content

Commit 41a22ff

Browse files
committed
fix actions
1 parent 127fff9 commit 41a22ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# This workflows will upload a Python Package using Twine when a release is created
23
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
34

@@ -21,11 +22,11 @@ jobs:
2122
- name: Install dependencies
2223
run: |
2324
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
25+
pip install build twine
2526
- name: Build and publish
2627
env:
2728
TWINE_USERNAME: __token__
2829
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2930
run: |
30-
python setup.py sdist bdist_wheel
31-
twine upload dist/*
31+
python -m build
32+
twine upload dist/*

0 commit comments

Comments
 (0)