Browse Source

Add zig dependency to maturin

tags/0.3.8-rc
haixuanTao 1 year ago
parent
commit
f447dec976
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .github/workflows/node-hub-ci-cd.yml

+ 2
- 1
.github/workflows/node-hub-ci-cd.yml View File

@@ -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


Loading…
Cancel
Save