Skip to content

Commit

Permalink
Allow wheel to be present on pip
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Nov 11, 2024
1 parent b735e38 commit 2b6e775
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node-hub-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2b6e775

Please sign in to comment.