diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 8b130aa6de..29968216e9 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -22,7 +22,8 @@ jobs: workflow: python-package.yml workflow_conclusion: success commit: ${{ github.sha }} - name: wheels + name_is_regexp: true + name: wheel-.* path: dist - name: Download sdist from commit ${{ github.sha }} diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 54a255517f..446a7b192c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -172,9 +172,9 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-13, macos-latest] - python-build: ['cp37*', 'cp38*', 'cp39*', 'cp310*', 'cp311*', 'cp312*'] + python-build: ['cp37', 'cp38', 'cp39', 'cp310', 'cp311', 'cp312'] exclude: - - { os: macos-latest, python-build: 'cp37*' } + - { os: macos-latest, python-build: 'cp37' } steps: - uses: actions/checkout@v4 @@ -187,15 +187,15 @@ jobs: with: output-dir: wheelhouse env: - CIBW_BUILD: ${{ matrix.python-build }} + CIBW_BUILD: ${{ matrix.python-build }}* CIBW_SKIP: '*musllinux*' CIBW_ARCHS_LINUX: x86_64 aarch64 CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: wheels + name: wheel-${{ matrix.os }}-${{ matrix.python-build }} path: ./wheelhouse/*.whl package_sdist: @@ -214,7 +214,7 @@ jobs: - name: Generate sdist run: python -m build -s . - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: sdist path: dist