Skip to content

Commit 0bf3baa

Browse files
committed
ci: Clean dist folder before build in publish workflow
1 parent 54b6fbf commit 0bf3baa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
pip install build twine
2525
2626
- name: Build package
27-
run: python -m build
27+
run: |
28+
rm -rf dist/
29+
python -m build
2830
2931
- name: Publish to PyPI
3032
env:

0 commit comments

Comments
 (0)