Skip to content

Commit

Permalink
Fix 'Publish to PyPI' action
Browse files Browse the repository at this point in the history
  • Loading branch information
ksenia-vazhdaeva committed Aug 26, 2024
1 parent 5695e06 commit 68cd9ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rocksq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 --version && (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
Expand Down

0 comments on commit 68cd9ee

Please sign in to comment.