From 2b6e775fdc27907416db784142de61506b15d2d0 Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Mon, 4 Nov 2024 12:45:37 +0100 Subject: [PATCH] Allow wheel to be present on pip --- .github/workflows/node-hub-ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 7b0a48192..2fa1027c6 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -106,17 +106,17 @@ jobs: if [ -d "$dir" ]; then if [[ -f "$dir/Cargo.toml" && -f "$dir/pyproject.toml" ]]; then echo "Publishing $dir using maturin..." - (cd "$dir" && poetry publish) + (cd "$dir" && maturin publish --skip-existing) else if [ -f "$dir/pyproject.toml" ]; then echo "Publishing $dir using Poetry..." - (cd "$dir" && poetry publish --build) + (cd "$dir" && poetry publish --build --skip-existing) fi fi if [ -f "$dir/Cargo.toml" ]; then echo "Publishing $dir using Cargo..." - (cd "$dir" && cargo publish) + (cd "$dir" && cargo publish ) fi fi done