try publish to pypi from CI
This commit is contained in:
@@ -120,7 +120,6 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
||||||
needs: [wheels]
|
needs: [wheels]
|
||||||
permissions:
|
permissions:
|
||||||
# Use to sign the release artifacts
|
# Use to sign the release artifacts
|
||||||
@@ -136,7 +135,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
subject-path: 'wheels-*/*'
|
subject-path: 'wheels-*/*'
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
env:
|
env:
|
||||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
name = "kmeans_rs"
|
name = "kmeans_rs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.94.0"
|
|
||||||
authors = ["Wim Pomp <w.pomp@nki.nl>"]
|
authors = ["Wim Pomp <w.pomp@nki.nl>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
description = "Python wrapper for Rust kmeans library."
|
description = "Python wrapper for Rust kmeans library."
|
||||||
|
|||||||
Reference in New Issue
Block a user