Add API to get version information (#2309)

This commit is contained in:
Fangjun Kuang
2025-06-25 00:22:21 +08:00
committed by GitHub
parent 7f2145539d
commit bda427f4b2
169 changed files with 1480 additions and 12 deletions

View File

@@ -2,7 +2,11 @@
cd dotnet-examples/ cd dotnet-examples/
cd ./speech-enhancement-gtcrn cd ./version-test
./run.sh
ls -lh
cd ../speech-enhancement-gtcrn
./run.sh ./run.sh
ls -lh ls -lh

View File

@@ -7,6 +7,8 @@ echo "pwd: $PWD"
cd swift-api-examples cd swift-api-examples
ls -lh ls -lh
./run-test-version.sh
./run-decode-file-sense-voice-with-hr.sh ./run-decode-file-sense-voice-with-hr.sh
rm -rf sherpa-onnx-sense-voice-* rm -rf sherpa-onnx-sense-voice-*
rm -rf dict lexicon.txt replace.fst test-hr.wav rm -rf dict lexicon.txt replace.fst test-hr.wav

View File

@@ -58,6 +58,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build sherpa-onnx - name: Build sherpa-onnx
if: matrix.gpu == 'ON' if: matrix.gpu == 'ON'
shell: bash shell: bash

View File

@@ -43,6 +43,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build sherpa-onnx - name: Build sherpa-onnx
uses: addnab/docker-run-action@v3 uses: addnab/docker-run-action@v3
with: with:

View File

@@ -47,6 +47,12 @@ jobs:
with: with:
key: ${{ matrix.os }}-android-rknn key: ${{ matrix.os }}-android-rknn
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display NDK HOME - name: Display NDK HOME
shell: bash shell: bash
run: | run: |
@@ -158,6 +164,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -45,6 +45,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -190,6 +196,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -42,6 +42,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -184,6 +190,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -31,6 +31,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -44,6 +44,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -26,6 +26,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -27,6 +27,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/ # see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions # for a list of versions
- name: Build wheels - name: Build wheels

View File

@@ -25,6 +25,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -29,6 +29,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/ # see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions # for a list of versions
- name: Build wheels - name: Build wheels

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
with: with:

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/ # see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions # for a list of versions
- name: Build wheels - name: Build wheels

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build wheels - name: Build wheels
uses: pypa/cibuildwheel@v2.21.3 uses: pypa/cibuildwheel@v2.21.3
env: env:

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build wheels - name: Build wheels
uses: pypa/cibuildwheel@v2.21.3 uses: pypa/cibuildwheel@v2.21.3
env: env:

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/ # see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions # for a list of versions
- name: Build wheels - name: Build wheels

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/ # see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions # for a list of versions
- name: Build wheels - name: Build wheels

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -26,6 +26,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -43,6 +43,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build iOS shared - name: Build iOS shared
if: matrix.with_tts == 'ON' if: matrix.with_tts == 'ON'
shell: bash shell: bash

View File

@@ -44,6 +44,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -42,6 +42,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -33,6 +33,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -41,6 +41,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -25,6 +25,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build sherpa-onnx - name: Build sherpa-onnx
shell: bash shell: bash
run: | run: |

View File

@@ -27,6 +27,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display NDK HOME - name: Display NDK HOME
shell: bash shell: bash
run: | run: |

View File

@@ -30,10 +30,16 @@ jobs:
index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"] index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install deps - name: Install deps
shell: bash shell: bash
run: | run: |
@@ -235,6 +241,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Retrieve artifact from ubuntu-latest - name: Retrieve artifact from ubuntu-latest
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install Python dependencies - name: Install Python dependencies
shell: bash shell: bash
run: | run: |
@@ -134,6 +140,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install Python dependencies - name: Install Python dependencies
shell: bash shell: bash
run: | run: |

View File

@@ -27,6 +27,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install Python dependencies - name: Install Python dependencies
shell: bash shell: bash
run: | run: |
@@ -125,6 +131,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install Python dependencies - name: Install Python dependencies
shell: bash shell: bash
run: | run: |

View File

@@ -32,6 +32,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
# https://github.com/actions/setup-java # https://github.com/actions/setup-java
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -29,6 +29,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -42,6 +42,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -48,6 +48,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -259,6 +265,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Retrieve artifact from windows x64 - name: Retrieve artifact from windows x64
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:

View File

@@ -56,6 +56,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Build sherpa-onnx - name: Build sherpa-onnx
uses: addnab/docker-run-action@v3 uses: addnab/docker-run-action@v3
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:
distribution: 'temurin' # See 'Supported distributions' for available options distribution: 'temurin' # See 'Supported distributions' for available options

View File

@@ -27,6 +27,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:
distribution: 'temurin' # See 'Supported distributions' for available options distribution: 'temurin' # See 'Supported distributions' for available options

View File

@@ -74,6 +74,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display PWD - name: Display PWD
shell: bash shell: bash
run: | run: |

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
with: with:
distribution: 'temurin' # See 'Supported distributions' for available options distribution: 'temurin' # See 'Supported distributions' for available options

View File

@@ -71,6 +71,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -43,6 +43,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display MSBuild info - name: Display MSBuild info
shell: cmd shell: cmd
run: | run: |

View File

@@ -27,6 +27,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -27,6 +27,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -32,6 +32,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
@@ -144,6 +150,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -28,6 +28,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install emsdk - name: Install emsdk
uses: mymindstorm/setup-emsdk@v14 uses: mymindstorm/setup-emsdk@v14
with: with:

View File

@@ -44,6 +44,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -46,6 +46,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -24,6 +24,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Fix version - name: Fix version
shell: bash shell: bash
run: | run: |
@@ -121,6 +127,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -223,6 +235,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Fix version - name: Fix version
shell: bash shell: bash
run: | run: |
@@ -307,6 +325,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -438,6 +462,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -517,6 +547,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Flutter SDK - name: Setup Flutter SDK
uses: flutter-actions/setup-flutter@v3 uses: flutter-actions/setup-flutter@v3
with: with:

View File

@@ -15,6 +15,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Add SSH key - name: Add SSH key
run: | run: |
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/

View File

@@ -45,6 +45,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -49,6 +49,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -43,6 +43,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -105,6 +111,12 @@ jobs:
make -j4 make -j4
ls -lh lib ls -lh lib
- name: Run java version test
shell: bash
run: |
cd ./java-api-examples
./run-version-test.sh
- name: Run java test (Non-streaming SenseVoice with homophone replacer) - name: Run java test (Non-streaming SenseVoice with homophone replacer)
shell: bash shell: bash
run: | run: |

View File

@@ -60,6 +60,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display OS version - name: Display OS version
shell: bash shell: bash
run: | run: |

View File

@@ -55,6 +55,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display OS version - name: Display OS version
shell: bash shell: bash
run: | run: |

View File

@@ -30,6 +30,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -25,6 +25,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -46,6 +46,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -80,6 +80,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -30,6 +30,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Flutter SDK - name: Setup Flutter SDK
uses: flutter-actions/setup-flutter@v3 uses: flutter-actions/setup-flutter@v3
with: with:

View File

@@ -39,6 +39,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -32,6 +32,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Free space - name: Free space
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
shell: bash shell: bash

View File

@@ -45,6 +45,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:
@@ -138,6 +144,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -45,6 +45,12 @@ jobs:
with: with:
go-version: '>=1.17' go-version: '>=1.17'
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Display go version - name: Display go version
shell: bash shell: bash
run: | run: |

View File

@@ -40,6 +40,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -46,6 +46,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -47,6 +47,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
with: with:

View File

@@ -50,6 +50,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'

View File

@@ -48,6 +48,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'

View File

@@ -33,6 +33,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -46,6 +46,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -81,6 +81,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Setup Python ${{ matrix.python-version }} - name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:

View File

@@ -41,6 +41,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -42,6 +42,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -42,6 +42,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -26,6 +26,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install emsdk - name: Install emsdk
uses: mymindstorm/setup-emsdk@v14 uses: mymindstorm/setup-emsdk@v14
with: with:

View File

@@ -25,6 +25,13 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install emsdk - name: Install emsdk
uses: mymindstorm/setup-emsdk@v14 uses: mymindstorm/setup-emsdk@v14
with: with:

View File

@@ -26,6 +26,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install emsdk - name: Install emsdk
uses: mymindstorm/setup-emsdk@v14 uses: mymindstorm/setup-emsdk@v14
with: with:

View File

@@ -26,6 +26,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install emsdk - name: Install emsdk
uses: mymindstorm/setup-emsdk@v14 uses: mymindstorm/setup-emsdk@v14
with: with:

View File

@@ -27,6 +27,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Update version
shell: bash
run: |
./new-release.sh
git diff .
- name: Install emsdk - name: Install emsdk
uses: mymindstorm/setup-emsdk@v14 uses: mymindstorm/setup-emsdk@v14
with: with:

Some files were not shown because too many files have changed in this diff Show More