fix(workflow): Use correct napi-rs CLI options for build

Changed --cargo-cwd to proper --manifest-path and -p flags.
The build command now matches the working package.json script format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
rUv 2025-12-03 18:28:18 +00:00
parent 285a4083cc
commit f96564df9a

View file

@ -94,7 +94,7 @@ jobs:
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
run: |
npx napi build --platform --release --cargo-cwd ../../../crates/sona --features napi --target ${{ matrix.target }}
npx napi build --platform --release -p ruvector-sona --manifest-path ../../../crates/sona/Cargo.toml -F napi --target ${{ matrix.target }}
- name: List built files
working-directory: npm/packages/sona