mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 10:16:14 +00:00
Fix CI
This commit is contained in:
parent
fa9f4d58fb
commit
ab883a71ec
6
.github/workflows/audioset.yml
vendored
6
.github/workflows/audioset.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
|||||||
ls -lh ./model-onnx/*
|
ls -lh ./model-onnx/*
|
||||||
|
|
||||||
- name: Upload model to huggingface
|
- name: Upload model to huggingface
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0' && github.event_name == 'push'
|
||||||
env:
|
env:
|
||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||||
uses: nick-fields/retry@v3
|
uses: nick-fields/retry@v3
|
||||||
@ -116,7 +116,7 @@ jobs:
|
|||||||
rm -rf huggingface
|
rm -rf huggingface
|
||||||
|
|
||||||
- name: Prepare for release
|
- name: Prepare for release
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0' && github.event_name == 'push'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
d=sherpa-onnx-zipformer-audio-tagging-2024-04-09
|
d=sherpa-onnx-zipformer-audio-tagging-2024-04-09
|
||||||
@ -125,7 +125,7 @@ jobs:
|
|||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
- name: Release exported onnx models
|
- name: Release exported onnx models
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0' && github.event_name == 'push'
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
7
.github/workflows/ljspeech.yml
vendored
7
.github/workflows/ljspeech.yml
vendored
@ -79,19 +79,19 @@ jobs:
|
|||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0'
|
||||||
with:
|
with:
|
||||||
name: generated-test-files-${{ matrix.python-version }}-${{ matrix.torch-version }}
|
name: generated-test-files-${{ matrix.python-version }}-${{ matrix.torch-version }}
|
||||||
path: ./*.wav
|
path: ./*.wav
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0'
|
||||||
with:
|
with:
|
||||||
name: generated-models-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}
|
name: generated-models-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}
|
||||||
path: ./*.wav
|
path: ./*.wav
|
||||||
|
|
||||||
- name: Release exported onnx models
|
- name: Release exported onnx models
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0' && github.event_name == 'push'
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
@ -100,4 +100,3 @@ jobs:
|
|||||||
repo_name: k2-fsa/sherpa-onnx
|
repo_name: k2-fsa/sherpa-onnx
|
||||||
repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
|
repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
|
||||||
tag: tts-models
|
tag: tts-models
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user