Fix releasing wasm app for vad+asr (#1300)

This commit is contained in:
Fangjun Kuang
2024-08-29 08:47:38 +08:00
committed by GitHub
parent ca30d83915
commit 9064430c3e
2 changed files with 7 additions and 4 deletions

View File

@@ -85,6 +85,9 @@ jobs:
file_glob: true
overwrite: true
file: ./*.tar.bz2
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.10.23
- name: Upload wasm files
uses: actions/upload-artifact@v4

View File

@@ -64,8 +64,8 @@ git lfs track "*.wasm"
ls -lh
git add .
git commit -m "update model"
git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git
git commit -m "update model" || true
git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git || true
cd ..
rm -rf ms
@@ -81,8 +81,8 @@ git lfs track "*.wasm"
ls -lh
git add .
git commit -m "update model"
git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main
git commit -m "update model" || true
git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main || true
cd ..
rm -rf huggingface
rm -rf $dst