diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef0b3eff..ec624c3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,8 +51,21 @@ jobs: push: true tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} + publish_rocksdb_crate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - run: rustup update + - run: cargo login $CRATES_IO_TOKEN + env: + CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} + - run: cargo publish + working-directory: ./rocksdb-sys publish_lib_crate: runs-on: ubuntu-latest + needs: publish_rocksdb_crate steps: - uses: actions/checkout@v2 with: diff --git a/rocksdb-sys/Cargo.toml b/rocksdb-sys/Cargo.toml index 44b9e7e8..f860eeef 100644 --- a/rocksdb-sys/Cargo.toml +++ b/rocksdb-sys/Cargo.toml @@ -4,6 +4,7 @@ version = "0.3.0-dev" authors = ["Tpt "] license = "GPL-2.0 OR Apache-2.0" repository = "https://github.com/oxigraph/oxigraph/tree/v0.3/rocksdb-sys" +readme = "README.md" description = """ Rust bindings for RocksDB for Oxigraph usage. """ diff --git a/rocksdb-sys/README.md b/rocksdb-sys/README.md new file mode 100644 index 00000000..f4587db6 --- /dev/null +++ b/rocksdb-sys/README.md @@ -0,0 +1,6 @@ +Oxigraph RocksDB bindings +========================= + +[RocksDB](http://rocksdb.org/) bindings for [Oxigraph](https://oxigraph.org). + +Based on [librocksdb-sys](https://crates.io/crates/librocksdb-sys) under Apache v2 license.