Skip to content

Commit 10dd196

Browse files
fix: use explicit target flag for napi-rs build
1 parent ab8b7c1 commit 10dd196

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
shell: bash
7575

7676
- name: Build
77-
run: npx nx build:native -- --platform ${{ matrix.target }}
77+
run: npx nx build:native -- --target ${{ matrix.target }}
7878
shell: bash
7979

8080
- name: Upload artifact

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build:native": {
66
"executor": "nx:run-commands",
77
"options": {
8-
"command": "npx @napi-rs/cli build --platform --release"
8+
"command": "npx @napi-rs/cli build --target {args.target} --release"
99
},
1010
"outputs": [
1111
"{workspaceRoot}/cel-typescript.darwin-arm64.node",

0 commit comments

Comments
 (0)