Skip to content

Commit

Permalink
ci: Fix python & nodejs not released correctly (#1559)
Browse files Browse the repository at this point in the history
Fix build of publish

Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Mar 10, 2023
1 parent fd4c282 commit 33284f6
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

0 comments on commit 33284f6

Please sign in to comment.