Fangjun Kuang
Committed by GitHub

Fix building aar to include speech denoiser (#2069)

@@ -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
  1 +../../../../../../../../../../sherpa-onnx/kotlin-api/OfflineSpeechDenoiser.kt