Skip to content

Commit a0324ff

Browse files
committed
ci: clean dist directory before building
1 parent ace6954 commit a0324ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install build twine
2525
26-
- name: Build package
27-
run: python -m build
26+
- name: Clean and Build package
27+
run: |
28+
rm -rf dist/
29+
python -m build
2830
2931
- name: Publish to PyPI
3032
env:

0 commit comments

Comments
 (0)