Skip to content

Commit 6554c22

Browse files
Clean in-tree build dir before each wheel command
1 parent e643c24 commit 6554c22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ jobs:
188188
- uses: pypa/cibuildwheel@v2.3.1
189189
env:
190190
CIBW_ARCHS: native
191+
CIBW_BEFORE_BUILD: rm -rf {project}/build
191192

192193
- uses: actions/upload-artifact@v2
193194
with:
@@ -261,6 +262,7 @@ jobs:
261262
262263
CIBW_SKIP: "*-musllinux*"
263264
CIBW_ARCHS: native
265+
CIBW_BEFORE_BUILD: rm -rf {project}/build
264266

265267
- uses: actions/upload-artifact@v2
266268
with:

0 commit comments

Comments
 (0)