Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e68362a

Browse files
committed
Prevent dirty tree while building wheels on CI.
Move the wheels to `dist` instead of `wheelhouse`, since that directory is ignored and git won't make the version `+dirty`.
1 parent 5069b83 commit e68362a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Build wheels
3434
run: |
35-
python -m cibuildwheel --output-dir wheelhouse
35+
python -m cibuildwheel --output-dir dist
3636
env:
3737
CIBW_BUILD: "cp3?-*"
3838
CIBW_SKIP: "cp35-* cp36-*"
@@ -44,4 +44,4 @@ jobs:
4444
- uses: actions/upload-artifact@v2
4545
with:
4646
name: wheels
47-
path: ./wheelhouse/*.whl
47+
path: ./dist/*.whl

0 commit comments

Comments
 (0)