Skip to content

Commit c5d228d

Browse files
committed
CI: Fix location of cibuildwheel wheels for nightly upload
1 parent 499c5d4 commit c5d228d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,18 +194,18 @@ jobs:
194194

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

199199
- uses: actions/upload-artifact@v5
200200
with:
201201
name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
202-
path: ./wheelhouse/*.whl
202+
path: ./dist/*.whl
203203

204204
- name: Upload wheels & sdist
205205
if: ${{ success() && env.IS_SCHEDULE_DISPATCH == 'true' }}
206206
uses: scientific-python/upload-nightly-action@0.6.2
207207
with:
208-
artifacts_path: dist
208+
artifacts_path: ./dist
209209
anaconda_nightly_upload_token: ${{secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN}}
210210

211211
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

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ setup = ['--vsenv'] # For Windows
145145

146146
[tool.cibuildwheel]
147147
skip = ["*_i686", "*_ppc64le", "*_s390x"]
148+
output-dir = "dist"
148149
build-verbosity = 3
149150
environment = {LDFLAGS="-Wl,--strip-all"}
150151
test-extras = "test"

0 commit comments

Comments
 (0)