Skip to content

Commit 53066a5

Browse files
committed
Fix build macos x64.
1 parent 1e834bf commit 53066a5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-build-release-napi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
arch:
22-
- x86_64
22+
- x64
2323
# - arm64
2424
nodejs:
2525
- 18
@@ -47,7 +47,11 @@ jobs:
4747
- name: Build CPP lib
4848
if: steps.cache-pulsar.outputs.cache-hit != 'true'
4949
run: |
50-
export ARCH=${{ matrix.arch }}
50+
if [ "${{ matrix.arch }}" = "x64" ]; then
51+
export ARCH=x86_64
52+
else
53+
export ARCH=${{ matrix.arch }}
54+
fi
5155
pkg/mac/build-cpp-lib.sh
5256
5357
- name: Build Node binaries lib

0 commit comments

Comments
 (0)