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 5ed6eaf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rocksq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
matrix:
include:
- docker_file: docker/Dockerfile.manylinux_2_28_ARM64
maturin_action_docker_image: ghcr.io/insight-platform/manylinux_2_28_arm64
name: manylinux-arm
arch: linux/arm64
runner: ARM64
- docker_file: docker/Dockerfile.manylinux_2_28_X64
maturin_action_docker_image: ghcr.io/insight-platform/manylinux_2_28_x64
name: manylinux-x86
arch: linux/amd64
runner: X64
Expand Down Expand Up @@ -66,6 +68,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:
container: ${{ matrix.maturin_action_docker_image }}
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 5ed6eaf

Please sign in to comment.