Skip to content

Commit

Permalink
Fix build of publish
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Mar 10, 2023
1 parent fd4c282 commit cfc8c8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/bindings_nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/bindings_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,5 @@ jobs:
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
working-directory: "bindings/python"
command: upload
args: --skip-existing *
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
uses: beyondstorage/setup-hdfs@master
with:
hdfs-version: "3.3.2"
- name: Install rocksdb
run: sudo apt install librocksdb-dev

- uses: Swatinem/rust-cache@v2

Expand All @@ -45,10 +47,12 @@ jobs:
env:
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
ROCKSDB_LIB_DIR: /usr/lib

- name: Publish object_store_opendal
run: cargo publish
working-directory: "bindings/object_store"
env:
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
ROCKSDB_LIB_DIR: /usr/lib

1 comment on commit cfc8c8a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for opendal ready!

✅ Preview
https://opendal-hbuqrpq6e-databend.vercel.app
https://opendal-git-fix-publish.vercel.app

Built with commit cfc8c8a.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.