Skip to content

Commit bc4ca71

Browse files
committed
Update build command for pypi upload
1 parent 8c163ab commit bc4ca71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
- name: Setup Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.x"
21+
python-version: "3.10"
2222

2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
python -m pip install --upgrade setuptools wheel twine
26+
python -m pip install --upgrade setuptools build wheel twine
2727
- name: Build wheel
2828
run: |
29-
python setup.py build bdist_wheel
29+
python -m build --wheel
3030
- name: Publish to PyPI
3131
env:
3232
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)