Skip to content

Commit 175528a

Browse files
authored
Fix the release mechanism
1 parent 1bbafe0 commit 175528a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ jobs:
2020
with:
2121
python-version: '3.x'
2222

23+
- name: Clean previous builds
24+
run: rm -rf dist build *.egg-info
25+
2326
- name: Install build dependencies & build
2427
run: |
2528
python -m pip install --upgrade pip
26-
pip install setuptools wheel
27-
python setup.py sdist bdist_wheel
29+
pip install build
30+
python -m build
2831
2932
- name: Publish package
3033
uses: pypa/[email protected]

0 commit comments

Comments
 (0)