Skip to content

Commit 8a2be83

Browse files
committed
try fixing actions
1 parent 027a004 commit 8a2be83

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616

1717
# Used to host cibuildwheel
1818
- uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.12"
1921

2022
- name: Install cibuildwheel
21-
run: python -m pip install cibuildwheel twine virtualenv numpy
23+
run: python -m pip install cibuildwheel twine virtualenv numpy "pkginfo>=1.11" packaging
2224

2325
- name: Build wheels
2426
env:
@@ -34,13 +36,14 @@ jobs:
3436
with:
3537
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
3638
path: ./wheelhouse/*.whl
39+
overwrite: true
40+
3741
- name: Upload wheels
3842
env:
3943
TWINE_USERNAME: __token__
4044
TWINE_PASSWORD: ${{ secrets.TWINETOKEN }}
4145
run: |
4246
echo $TWINE_USERNAME
4347
echo $TWINE_PASSWORD
44-
python -m pip install -U twine virtualenv "pkginfo>=1.11"
4548
twine upload --skip-existing wheelhouse/*.whl
4649
continue-on-error: true

0 commit comments

Comments
 (0)