Skip to content

Commit ea42ce6

Browse files
Revert "CI: Fix location of cibuildwheel wheels for nightly upload (#63300)"
This reverts commit 181a1ab.
1 parent 9ee361b commit ea42ce6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/wheels.yml

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

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

200199
- uses: actions/upload-artifact@v6
201200
with:
202201
name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
203-
path: ./dist/*.whl
202+
path: ./wheelhouse/*.whl
204203

205204
- name: Upload wheels & sdist
206205
if: ${{ success() && env.IS_SCHEDULE_DISPATCH == 'true' }}
207206
uses: scientific-python/[email protected]
208207
with:
209-
artifacts_path: ./dist
208+
artifacts_path: dist
210209
anaconda_nightly_upload_token: ${{secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN}}
211210

212211
publish:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ pandas/py.typed
6767
.ropeproject
6868
# wheel files
6969
*.whl
70+
**/wheelhouse/*
7071
pip-wheel-metadata
7172
# coverage
7273
.coverage

0 commit comments

Comments
 (0)