Skip to content

Commit

Permalink
Add zig dependency to maturin
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Nov 18, 2024
1 parent 277c5d9 commit f447dec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/node-hub-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ jobs:
else
if [[ -f "Cargo.toml" && -f "pyproject.toml" ]]; then
echo "Publishing $dir using maturin..."
pip3 install maturin
if [[ "${{ runner.os }}" == "Linux" ]]; then
pip3 install "maturin[zig]"
maturin publish --skip-existing --zig
else
pip3 install maturin
maturin publish --skip-existing
fi
else
Expand Down

0 comments on commit f447dec

Please sign in to comment.