Skip to content

Commit 3c41821

Browse files
fixup! Create python-publish.yml
1 parent 701d004 commit 3c41821

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip
32-
pip install build
32+
pip install setuptools wheel twine
33+
- name: Clean dist directory
34+
run: rm -rf dist/* build/*
3335
- name: Build package
34-
run: python -m build
36+
run: python setup.py sdist bdist_wheel
3537
- name: Publish package
3638
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3739
with:

0 commit comments

Comments
 (0)