Browse Source

Make cargo and uv publish only on linux job

tags/v0.3.12-rc0
haixuantao 9 months ago
parent
commit
ebe42fa439
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .github/workflows/node_hub_test.sh

+ 2
- 2
.github/workflows/node_hub_test.sh View File

@@ -69,8 +69,8 @@ else
maturin publish --target x86_64-apple-darwin --skip-existing --zig
fi

else
if [ -f "$dir/Cargo.toml" ]; then
elif [[ "$(uname)" = "Linux" ]];
if [ -f "$dir/Cargo.toml" ]; then
echo "Running build and tests for Rust project in $dir..."
cargo check
cargo clippy


Loading…
Cancel
Save