diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7b1c937c..d81fc0ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,21 +21,24 @@ jobs: - name: Build c stuff run: | - /opt/python/cp39-cp39/bin/python3.9 setup.py develop - /opt/python/cp310-cp310/bin/python3.10 setup.py develop - /opt/python/cp311-cp311/bin/python3.11 setup.py develop + /opt/python/cp39-cp39/bin/python setup.py develop + /opt/python/cp310-cp310/bin/python setup.py develop + /opt/python/cp311-cp311/bin/python setup.py develop + /opt/python/cp312-cp312/bin/python setup.py develop - name: Build wheel files run: | - /opt/python/cp39-cp39/bin/python3.9 setup.py bdist_wheel - /opt/python/cp310-cp310/bin/python3.10 setup.py bdist_wheel - /opt/python/cp311-cp311/bin/python3.11 setup.py bdist_wheel + /opt/python/cp39-cp39/bin/python setup.py bdist_wheel + /opt/python/cp310-cp310/bin/python setup.py bdist_wheel + /opt/python/cp311-cp311/bin/python setup.py bdist_wheel + /opt/python/cp312-cp312/bin/python setup.py bdist_wheel - name: Repair wheel files run: | /opt/python/cp39-cp39/bin/auditwheel repair dist/*cp39-cp39-linux_x86_64.whl /opt/python/cp310-cp310/bin/auditwheel repair dist/*cp310-cp310-linux_x86_64.whl /opt/python/cp311-cp311/bin/auditwheel repair dist/*cp311-cp311-linux_x86_64.whl + /opt/python/cp312-cp312/bin/auditwheel repair dist/*cp312-cp312-linux_x86_64.whl - name: List contents of dist run: ls -R dist @@ -66,16 +69,31 @@ jobs: pip install --upgrade pip pip install twine - - name: Download build artifacts + - name: Download build artifacts for windows and mac wheels + uses: actions/download-artifact@v4 + with: + path: dist + merge-multiple: true + + - name: Download build artifacts for manylinux wheels uses: actions/download-artifact@v4 with: path: wheelhouse merge-multiple: true + - name: Inspect dist files + run: | + ls -R dist + - name: Inspect wheelhouse files run: | ls -R wheelhouse + - name: Merge wheel files + run: | + cp dist/* wheelhouse/ + ls -R wheelhouse + - name: Upload to PyPI using twine run: | twine upload --skip-existing wheelhouse/*