Committed by
GitHub
Fix releasing wasm app for vad+asr (#1300)
正在显示
2 个修改的文件
包含
7 行增加
和
4 行删除
| @@ -85,6 +85,9 @@ jobs: | @@ -85,6 +85,9 @@ jobs: | ||
| 85 | file_glob: true | 85 | file_glob: true |
| 86 | overwrite: true | 86 | overwrite: true |
| 87 | file: ./*.tar.bz2 | 87 | file: ./*.tar.bz2 |
| 88 | + # repo_name: k2-fsa/sherpa-onnx | ||
| 89 | + # repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }} | ||
| 90 | + # tag: v1.10.23 | ||
| 88 | 91 | ||
| 89 | - name: Upload wasm files | 92 | - name: Upload wasm files |
| 90 | uses: actions/upload-artifact@v4 | 93 | uses: actions/upload-artifact@v4 |
| @@ -64,8 +64,8 @@ git lfs track "*.wasm" | @@ -64,8 +64,8 @@ git lfs track "*.wasm" | ||
| 64 | ls -lh | 64 | ls -lh |
| 65 | 65 | ||
| 66 | git add . | 66 | git add . |
| 67 | -git commit -m "update model" | ||
| 68 | -git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git | 67 | +git commit -m "update model" || true |
| 68 | +git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git || true | ||
| 69 | cd .. | 69 | cd .. |
| 70 | rm -rf ms | 70 | rm -rf ms |
| 71 | 71 | ||
| @@ -81,8 +81,8 @@ git lfs track "*.wasm" | @@ -81,8 +81,8 @@ git lfs track "*.wasm" | ||
| 81 | ls -lh | 81 | ls -lh |
| 82 | 82 | ||
| 83 | git add . | 83 | git add . |
| 84 | -git commit -m "update model" | ||
| 85 | -git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main | 84 | +git commit -m "update model" || true |
| 85 | +git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main || true | ||
| 86 | cd .. | 86 | cd .. |
| 87 | rm -rf huggingface | 87 | rm -rf huggingface |
| 88 | rm -rf $dst | 88 | rm -rf $dst |
-
请 注册 或 登录 后发表评论