Skip to content

Commit 4ab4a1d

Browse files
Fix workflow
1 parent b9065ab commit 4ab4a1d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ jobs:
1818
submodules: true
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.8 - 3.12"
2123
- name: Build wheels
2224
uses: pypa/cibuildwheel@v2.16
25+
with:
26+
output-dir: dist
2327
env:
2428
CIBW_BUILD: cp38-*
2529
CIBW_ARCHS_LINUX: native
@@ -28,8 +32,8 @@ jobs:
2832
- name: Upload wheelhouse artifact
2933
uses: actions/upload-artifact@v4
3034
with:
31-
name: wheelhouse
32-
path: wheelhouse/*.whl
35+
path: dist/*.whl
36+
name: wheels-${{matrix.os}}
3337
retention-days: 1
3438

3539
upload:
@@ -40,8 +44,9 @@ jobs:
4044
- name: Download wheelhouse artifact
4145
uses: actions/download-artifact@v4
4246
with:
43-
name: wheelhouse
4447
path: dist
48+
pattern: wheels-*
49+
merge-multiple: true
4550
- uses: pypa/gh-action-pypi-publish@v1.8.12
4651
with:
4752
password: ${{secrets.PYPI_TOKEN}}

0 commit comments

Comments
 (0)