Fangjun Kuang
Committed by GitHub

Fix using sherpa-onnx as a cmake sub-project. (#2550)

... ... @@ -62,7 +62,7 @@ jobs:
path: ./*.jar
- name: Release jar
if: repository_owner == 'csukuangfj' && github.event_name == 'push' && contains(github.ref, 'refs/tags/')
if: github.repository_owner == 'csukuangfj' && github.event_name == 'push' && contains(github.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
file_glob: true
... ...
... ... @@ -43,7 +43,7 @@ function(download_cppinyin)
file(REMOVE ${cppinyin_SOURCE_DIR}/CMakeLists.txt)
configure_file(
${CMAKE_SOURCE_DIR}/cmake/cppinyin.patch
${CMAKE_CURRENT_LIST_DIR}/cppinyin.patch
${cppinyin_SOURCE_DIR}/CMakeLists.txt
COPYONLY
)
... ...