Skip to content

Commit fb688d8

Browse files
committed
Build for windows
1 parent f0432e6 commit fb688d8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/windows-x64-jni.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- jni
7+
- fix-funasr-nano
78
tags:
89
- 'v[0-9]+.[0-9]+.[0-9]+*'
910

@@ -87,7 +88,7 @@ jobs:
8788
8889
# https://huggingface.co/docs/hub/spaces-github-actions
8990
- name: Publish to huggingface
90-
if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
91+
# if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
9192
env:
9293
HF_TOKEN: ${{ secrets.HF_TOKEN }}
9394
uses: nick-fields/retry@v3
@@ -120,12 +121,12 @@ jobs:
120121
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-libs main
121122
122123
- name: Release pre-compiled binaries and libs for Windows x64
123-
if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && github.event_name == 'push' && contains(github.ref, 'refs/tags/')
124+
# if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && github.event_name == 'push' && contains(github.ref, 'refs/tags/')
124125
uses: svenstaro/upload-release-action@v2
125126
with:
126127
file_glob: true
127128
overwrite: true
128129
file: sherpa-onnx-*.tar.bz2
129-
# repo_name: k2-fsa/sherpa-onnx
130-
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
131-
# tag: v1.12.18
130+
repo_name: k2-fsa/sherpa-onnx
131+
repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
132+
tag: v1.12.21

0 commit comments

Comments
 (0)