diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 40624f7e..7b0a4819 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -104,9 +104,14 @@ jobs: run: | for dir in node-hub/*/ ; do if [ -d "$dir" ]; then - if [ -f "$dir/pyproject.toml" ]; then - echo "Publishing $dir using Poetry..." - (cd "$dir" && poetry publish --build) + if [[ -f "$dir/Cargo.toml" && -f "$dir/pyproject.toml" ]]; then + echo "Publishing $dir using maturin..." + (cd "$dir" && poetry publish) + else + if [ -f "$dir/pyproject.toml" ]; then + echo "Publishing $dir using Poetry..." + (cd "$dir" && poetry publish --build) + fi fi if [ -f "$dir/Cargo.toml" ]; then diff --git a/node-hub/dora-rerun/pyproject.toml b/node-hub/dora-rerun/pyproject.toml new file mode 100644 index 00000000..79d053ee --- /dev/null +++ b/node-hub/dora-rerun/pyproject.toml @@ -0,0 +1,8 @@ +[build-system] +requires = ["maturin>=0.13.2"] +build-backend = "maturin" + +[project] +name = "dora-rerun" +# Install pyarrow at the same time of dora-rs +dependencies = ['pyarrow']