diff --git a/.github/workflows/rocksq.yml b/.github/workflows/rocksq.yml index 0581c30..987ec5f 100644 --- a/.github/workflows/rocksq.yml +++ b/.github/workflows/rocksq.yml @@ -66,6 +66,15 @@ jobs: name: wheels-${{ matrix.runner }} path: distfiles/dist + - name: Test maturin action + uses: PyO3/maturin-action@v1 + env: + MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + with: + before-script-linux: python3 -m pip --version || python3 -m ensurepip + command: build + args: --release --out /tmp/maturin-test + - name: Publish to PyPI if: "startsWith(github.ref, 'refs/tags/')" uses: PyO3/maturin-action@v1