Provide npm package for 32-bit Windows x86 (#1141)
This commit is contained in:
8
.github/workflows/npm-addon.yaml
vendored
8
.github/workflows/npm-addon.yaml
vendored
@@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
SHERPA_ONNX_VERSION=$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
|
||||
echo "SHERPA_ONNX_VERSION $SHERPA_ONNX_VERSION"
|
||||
# SHERPA_ONNX_VERSION=1.0.28
|
||||
# SHERPA_ONNX_VERSION=1.0.30
|
||||
|
||||
src_dir=.github/scripts/node-addon
|
||||
sed -i.bak s/SHERPA_ONNX_VERSION/$SHERPA_ONNX_VERSION/g $src_dir/package.json
|
||||
@@ -71,6 +71,12 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
ls -lh ./sherpa-onnx-node
|
||||
tar cjvf ./sherpa-onnx-node.tar.bz2 ./sherpa-onnx-node
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sherpa-onnx-node
|
||||
path: ./sherpa-onnx-node.tar.bz2
|
||||
|
||||
- name: Publish
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user