Skip to content

Commit c8041b4

Browse files
committed
update workflow
1 parent a132c8a commit c8041b4

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ jobs:
4444
uses: pyo3/maturin-action@v1
4545
with:
4646
command: publish
47-
token: ${{ secrets.PYPI_TOKEN }}
4847
manylinux: auto
4948
python-version: ${{ matrix.python-version }}
5049
extra-args: --skip-existing
50+
env:
51+
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
52+
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
5153

5254
build-and-publish-macos:
5355
runs-on: macos-latest
@@ -67,9 +69,11 @@ jobs:
6769
uses: pyo3/maturin-action@v1
6870
with:
6971
command: publish
70-
token: ${{ secrets.PYPI_TOKEN }}
7172
python-version: ${{ matrix.python-version }}
7273
extra-args: "--universal2 --skip-existing"
74+
env:
75+
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
76+
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
7377

7478
build-and-publish-windows:
7579
runs-on: windows-latest
@@ -95,6 +99,8 @@ jobs:
9599
uses: pyo3/maturin-action@v1
96100
with:
97101
command: publish
98-
token: ${{ secrets.PYPI_TOKEN }}
99102
python-version: ${{ matrix.python-version }}
100103
extra-args: --skip-existing
104+
env:
105+
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
106+
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ version = "2.0.0"
44
edition = "2018"
55
license-file = "LICENSE"
66
readme = "README.md"
7+
documentation = "https://github.com/synerise/cleora"
8+
homepage = "https://github.com/synerise/cleora"
9+
repository = "https://github.com/synerise/cleora"
710
description = """
811
Sparse graph structure and markov-propagation on embeddings exposed via python bindings
912
"""

0 commit comments

Comments
 (0)