Skip to content

Commit 3c2283e

Browse files
committed
ci: Fix packaging for arm64-linux in release assets
1 parent f322e67 commit 3c2283e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
retry_wait_seconds: 15
124124
command: |
125125
cd packages/cubejs-backend-native
126-
npm run upload-binary
126+
npm run upload-binary-cross
127127
128128
native:
129129
runs-on: ${{ matrix.os-version }}

packages/cubejs-backend-native/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"native:build-debug": "npm run native:build --",
1717
"native:build-release": "npm run native:build -- --release",
1818
"install": "node-pre-gyp install || echo 'Your system is not supported by @cubejs-backend/native, some feature will be unavailable.'",
19-
"upload-binary": "mkdir -p native && cp index.node native/index.node && node-pre-gyp package --target_arch=$PACKAGE_TARGET_ARCH --target_platform=$PACKAGE_TARGET_PLATFORM --target_libc=$PACKAGE_TARGET_LIBC && node-pre-gyp-github publish",
19+
"upload-binary-cross": "mkdir -p native && cp index.node native/index.node && node-pre-gyp package --target_arch=$PACKAGE_TARGET_ARCH --target_platform=$PACKAGE_TARGET_PLATFORM --target_libc=$PACKAGE_TARGET_LIBC && node-pre-gyp-github publish",
20+
"upload-binary": "mkdir -p native && cp index.node native/index.node && node-pre-gyp package && node-pre-gyp-github publish",
2021
"test:unit": "jest --forceExit test",
2122
"test:cargo": "cargo test"
2223
},

0 commit comments

Comments
 (0)