Provide npm package for 32-bit Windows x86 (#1141)

This commit is contained in:
Fangjun Kuang
2024-07-17 12:33:15 +08:00
committed by GitHub
parent 5b1fa8750f
commit 9e448d03bc
12 changed files with 383 additions and 66 deletions

View File

@@ -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