diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a6e9de..06d13ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - name: Install wasm-pack for JS run: cargo install wasm-pack - - name: Setup node for JS + - name: Setup NodeJS uses: actions/setup-node@v3 with: node-version: 20 @@ -149,12 +149,12 @@ jobs: with: name: curies_wheel_universal2_mac path: target/wheels/*.whl - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} - packages-dir: target/wheels + - name: Publish to PyPI if: github.event_name == 'release' + run: pip install twine && twine upload target/wheels/* + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} wheel_windows: @@ -178,9 +178,9 @@ jobs: with: name: curies_wheel_x86_64_windows path: target/wheels/*.whl - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} - packages-dir: target/wheels + - name: Publish to PyPI if: github.event_name == 'release' + run: pip install twine && twine upload target/wheels/* + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} diff --git a/README.md b/README.md index 5422f29..6efb118 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,18 @@ 🦀 curies.rs +

+ + crates.io + + + npm + + + PyPI + +

+

Test @@ -9,6 +21,9 @@ Build + + crates + Dependency status diff --git a/lib/Cargo.toml b/lib/Cargo.toml index ceca971..94b125c 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -15,7 +15,7 @@ authors.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ptrie = "0.6" +ptrie = "0.7" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" reqwest = { version = "0.11", features = ["blocking", "json"] }