We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a9d3b commit 790b5dbCopy full SHA for 790b5db
1 file changed
.github/workflows/release-sdk-nodejs.yml
@@ -73,6 +73,10 @@ jobs:
73
with:
74
version: 0.11.0
75
76
+ - name: Install cargo-zigbuild
77
+ if: ${{ matrix.zig }}
78
+ run: cargo install cargo-zigbuild
79
+
80
- uses: actions/setup-node@v4
81
82
node-version: 22
@@ -86,7 +90,8 @@ jobs:
86
90
shell: bash
87
91
run: |
88
92
if [ "${{ matrix.zig }}" = "true" ]; then
89
- npm run build:zig -- --target ${{ matrix.target }}
93
+ cargo zigbuild --target ${{ matrix.target }} --release
94
+ mv ../../target/${{ matrix.target }}/release/libnodejs.so ${{ matrix.artifact }}
95
elif [ "${{ matrix.cross }}" = "true" ]; then
96
npm run build:cross -- --target ${{ matrix.target }}
97
else
0 commit comments