From 258444f32fd0ac75e3043e8e780d1e9d21f667be Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Mon, 24 Jun 2024 18:57:16 +0800 Subject: [PATCH] ci: Fix lib-darwin-x64 no released Signed-off-by: Xuanwo --- .github/workflows/ci_bindings_nodejs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_bindings_nodejs.yml b/.github/workflows/ci_bindings_nodejs.yml index 37f4768afaa3..ded2005c39ed 100644 --- a/.github/workflows/ci_bindings_nodejs.yml +++ b/.github/workflows/ci_bindings_nodejs.yml @@ -183,8 +183,6 @@ jobs: run: working-directory: "bindings/nodejs" - - steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 @@ -223,6 +221,9 @@ jobs: settings: - target: x86_64-apple-darwin build: | + rustup target add x86_64-apple-darwin; + export NAPI_TARGET=x86_64-apple-darwin; + pnpm build strip -x *.node - target: aarch64-apple-darwin