Fix a typo in the JNI for Android. (#2108)

This commit is contained in:
Fangjun Kuang
2025-04-09 09:02:41 +08:00
committed by GitHub
parent dcaf9dd208
commit 1c3a383002
3 changed files with 11 additions and 2 deletions

View File

@@ -172,6 +172,9 @@ jobs:
file_glob: true
overwrite: true
file: sherpa-onnx-*-android*.tar.bz2
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.11.3
build-android-aar-static:
needs: [build-android-static-libs]
@@ -298,3 +301,6 @@ jobs:
file_glob: true
overwrite: true
file: ./*.aar
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.11.3

View File

@@ -166,6 +166,9 @@ jobs:
file_glob: true
overwrite: true
file: sherpa-onnx-*-android.tar.bz2
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.11.3
build-android-aar:
needs: [build-android-libs]
@@ -294,7 +297,7 @@ jobs:
file: ./*.aar
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.11.2
# tag: v1.11.3
- name: Release android aar
if: github.repository_owner == 'k2-fsa' && github.event_name == 'push' && contains(github.ref, 'refs/tags/')