diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7255361af..c3c799dc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,8 @@ jobs: build_wheels: needs: test - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' runs-on: ${{ matrix.os }} strategy: matrix: @@ -56,7 +57,8 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.16.5 env: - CIBW_SKIP: pp* + CIBW_SKIP: pp* cp36-* + CIBW_BUILD: cp312-* - name: Store wheel artifacts uses: actions/upload-artifact@v4 @@ -66,7 +68,8 @@ jobs: build_sdist: needs: test - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -89,13 +92,9 @@ jobs: - uses: actions/download-artifact@v4 with: path: dist + merge-multiple: true - - uses: actions/download-artifact@v4 - with: - name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: dist - - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN}} +# - uses: pypa/gh-action-pypi-publish@release/v1 +# with: +# user: __token__ +# password: ${{ secrets.PYPI_API_TOKEN}}