Committed by
GitHub
Fix building aar to include speech denoiser (#2069)
正在显示
2 个修改的文件
包含
13 行增加
和
1 行删除
| @@ -286,7 +286,18 @@ jobs: | @@ -286,7 +286,18 @@ jobs: | ||
| 286 | git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-libs main | 286 | git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-libs main |
| 287 | 287 | ||
| 288 | - name: Release android aar | 288 | - name: Release android aar |
| 289 | - if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && github.event_name == 'push' && contains(github.ref, 'refs/tags/') | 289 | + if: github.repository_owner == 'csukuangfj' && github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
| 290 | + uses: svenstaro/upload-release-action@v2 | ||
| 291 | + with: | ||
| 292 | + file_glob: true | ||
| 293 | + overwrite: true | ||
| 294 | + file: ./*.aar | ||
| 295 | + # repo_name: k2-fsa/sherpa-onnx | ||
| 296 | + # repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }} | ||
| 297 | + # tag: v1.11.2 | ||
| 298 | + | ||
| 299 | + - name: Release android aar | ||
| 300 | + if: github.repository_owner == 'k2-fsa' && github.event_name == 'push' && contains(github.ref, 'refs/tags/') | ||
| 290 | uses: svenstaro/upload-release-action@v2 | 301 | uses: svenstaro/upload-release-action@v2 |
| 291 | with: | 302 | with: |
| 292 | file_glob: true | 303 | file_glob: true |
android/SherpaOnnxAar/sherpa_onnx/src/main/java/com/k2fsa/sherpa/onnx/OfflineSpeechDenoiser.kt
0 → 120000
| 1 | +../../../../../../../../../../sherpa-onnx/kotlin-api/OfflineSpeechDenoiser.kt |
-
请 注册 或 登录 后发表评论