Skip to content

Commit 181a1ab

Browse files
authored
CI: Fix location of cibuildwheel wheels for nightly upload (#63300)
1 parent 56ef4d7 commit 181a1ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ jobs:
164164
uses: pypa/cibuildwheel@v3.2.1
165165
with:
166166
package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
167+
output-dir: ./dist
167168
env:
168169
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
169170
CIBW_BUILD_FRONTEND: ${{ matrix.cibw_build_frontend || 'pip' }}
@@ -194,18 +195,18 @@ jobs:
194195

195196
- name: Validate wheel RECORD
196197
shell: bash -el {0}
197-
run: for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
198+
run: for whl in $(ls ./dist/*.whl); do wheel unpack $whl -d /tmp; done
198199

199200
- uses: actions/upload-artifact@v5
200201
with:
201202
name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
202-
path: ./wheelhouse/*.whl
203+
path: ./dist/*.whl
203204

204205
- name: Upload wheels & sdist
205206
if: ${{ success() && env.IS_SCHEDULE_DISPATCH == 'true' }}
206207
uses: scientific-python/upload-nightly-action@0.6.2
207208
with:
208-
artifacts_path: dist
209+
artifacts_path: ./dist
209210
anaconda_nightly_upload_token: ${{secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN}}
210211

211212
publish:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ pandas/py.typed
6767
.ropeproject
6868
# wheel files
6969
*.whl
70-
**/wheelhouse/*
7170
pip-wheel-metadata
7271
# coverage
7372
.coverage

0 commit comments

Comments
 (0)