Committed by
GitHub
Add API to get version information (#2309)
正在显示
100 个修改的文件
包含
687 行增加
和
2 行删除
| @@ -7,6 +7,8 @@ echo "pwd: $PWD" | @@ -7,6 +7,8 @@ echo "pwd: $PWD" | ||
| 7 | cd swift-api-examples | 7 | cd swift-api-examples |
| 8 | ls -lh | 8 | ls -lh |
| 9 | 9 | ||
| 10 | +./run-test-version.sh | ||
| 11 | + | ||
| 10 | ./run-decode-file-sense-voice-with-hr.sh | 12 | ./run-decode-file-sense-voice-with-hr.sh |
| 11 | rm -rf sherpa-onnx-sense-voice-* | 13 | rm -rf sherpa-onnx-sense-voice-* |
| 12 | rm -rf dict lexicon.txt replace.fst test-hr.wav | 14 | rm -rf dict lexicon.txt replace.fst test-hr.wav |
| @@ -58,6 +58,12 @@ jobs: | @@ -58,6 +58,12 @@ jobs: | ||
| 58 | with: | 58 | with: |
| 59 | fetch-depth: 0 | 59 | fetch-depth: 0 |
| 60 | 60 | ||
| 61 | + - name: Update version | ||
| 62 | + shell: bash | ||
| 63 | + run: | | ||
| 64 | + ./new-release.sh | ||
| 65 | + git diff . | ||
| 66 | + | ||
| 61 | - name: Build sherpa-onnx | 67 | - name: Build sherpa-onnx |
| 62 | if: matrix.gpu == 'ON' | 68 | if: matrix.gpu == 'ON' |
| 63 | shell: bash | 69 | shell: bash |
| @@ -43,6 +43,12 @@ jobs: | @@ -43,6 +43,12 @@ jobs: | ||
| 43 | with: | 43 | with: |
| 44 | fetch-depth: 0 | 44 | fetch-depth: 0 |
| 45 | 45 | ||
| 46 | + - name: Update version | ||
| 47 | + shell: bash | ||
| 48 | + run: | | ||
| 49 | + ./new-release.sh | ||
| 50 | + git diff . | ||
| 51 | + | ||
| 46 | - name: Build sherpa-onnx | 52 | - name: Build sherpa-onnx |
| 47 | uses: addnab/docker-run-action@v3 | 53 | uses: addnab/docker-run-action@v3 |
| 48 | with: | 54 | with: |
| @@ -47,6 +47,12 @@ jobs: | @@ -47,6 +47,12 @@ jobs: | ||
| 47 | with: | 47 | with: |
| 48 | key: ${{ matrix.os }}-android-rknn | 48 | key: ${{ matrix.os }}-android-rknn |
| 49 | 49 | ||
| 50 | + - name: Update version | ||
| 51 | + shell: bash | ||
| 52 | + run: | | ||
| 53 | + ./new-release.sh | ||
| 54 | + git diff . | ||
| 55 | + | ||
| 50 | - name: Display NDK HOME | 56 | - name: Display NDK HOME |
| 51 | shell: bash | 57 | shell: bash |
| 52 | run: | | 58 | run: | |
| @@ -158,6 +164,12 @@ jobs: | @@ -158,6 +164,12 @@ jobs: | ||
| 158 | with: | 164 | with: |
| 159 | fetch-depth: 0 | 165 | fetch-depth: 0 |
| 160 | 166 | ||
| 167 | + - name: Update version | ||
| 168 | + shell: bash | ||
| 169 | + run: | | ||
| 170 | + ./new-release.sh | ||
| 171 | + git diff . | ||
| 172 | + | ||
| 161 | # https://github.com/actions/setup-java | 173 | # https://github.com/actions/setup-java |
| 162 | - uses: actions/setup-java@v4 | 174 | - uses: actions/setup-java@v4 |
| 163 | with: | 175 | with: |
| @@ -45,6 +45,12 @@ jobs: | @@ -45,6 +45,12 @@ jobs: | ||
| 45 | with: | 45 | with: |
| 46 | fetch-depth: 0 | 46 | fetch-depth: 0 |
| 47 | 47 | ||
| 48 | + - name: Update version | ||
| 49 | + shell: bash | ||
| 50 | + run: | | ||
| 51 | + ./new-release.sh | ||
| 52 | + git diff . | ||
| 53 | + | ||
| 48 | - name: ccache | 54 | - name: ccache |
| 49 | uses: hendrikmuhs/ccache-action@v1.2 | 55 | uses: hendrikmuhs/ccache-action@v1.2 |
| 50 | with: | 56 | with: |
| @@ -190,6 +196,12 @@ jobs: | @@ -190,6 +196,12 @@ jobs: | ||
| 190 | with: | 196 | with: |
| 191 | fetch-depth: 0 | 197 | fetch-depth: 0 |
| 192 | 198 | ||
| 199 | + - name: Update version | ||
| 200 | + shell: bash | ||
| 201 | + run: | | ||
| 202 | + ./new-release.sh | ||
| 203 | + git diff . | ||
| 204 | + | ||
| 193 | # https://github.com/actions/setup-java | 205 | # https://github.com/actions/setup-java |
| 194 | - uses: actions/setup-java@v4 | 206 | - uses: actions/setup-java@v4 |
| 195 | with: | 207 | with: |
| @@ -42,6 +42,12 @@ jobs: | @@ -42,6 +42,12 @@ jobs: | ||
| 42 | with: | 42 | with: |
| 43 | fetch-depth: 0 | 43 | fetch-depth: 0 |
| 44 | 44 | ||
| 45 | + - name: Update version | ||
| 46 | + shell: bash | ||
| 47 | + run: | | ||
| 48 | + ./new-release.sh | ||
| 49 | + git diff . | ||
| 50 | + | ||
| 45 | - name: ccache | 51 | - name: ccache |
| 46 | uses: hendrikmuhs/ccache-action@v1.2 | 52 | uses: hendrikmuhs/ccache-action@v1.2 |
| 47 | with: | 53 | with: |
| @@ -184,6 +190,12 @@ jobs: | @@ -184,6 +190,12 @@ jobs: | ||
| 184 | with: | 190 | with: |
| 185 | fetch-depth: 0 | 191 | fetch-depth: 0 |
| 186 | 192 | ||
| 193 | + - name: Update version | ||
| 194 | + shell: bash | ||
| 195 | + run: | | ||
| 196 | + ./new-release.sh | ||
| 197 | + git diff . | ||
| 198 | + | ||
| 187 | # https://github.com/actions/setup-java | 199 | # https://github.com/actions/setup-java |
| 188 | - uses: actions/setup-java@v4 | 200 | - uses: actions/setup-java@v4 |
| 189 | with: | 201 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -31,6 +31,12 @@ jobs: | @@ -31,6 +31,12 @@ jobs: | ||
| 31 | with: | 31 | with: |
| 32 | fetch-depth: 0 | 32 | fetch-depth: 0 |
| 33 | 33 | ||
| 34 | + - name: Update version | ||
| 35 | + shell: bash | ||
| 36 | + run: | | ||
| 37 | + ./new-release.sh | ||
| 38 | + git diff . | ||
| 39 | + | ||
| 34 | # https://github.com/actions/setup-java | 40 | # https://github.com/actions/setup-java |
| 35 | - uses: actions/setup-java@v4 | 41 | - uses: actions/setup-java@v4 |
| 36 | with: | 42 | with: |
| @@ -44,6 +44,12 @@ jobs: | @@ -44,6 +44,12 @@ jobs: | ||
| 44 | with: | 44 | with: |
| 45 | fetch-depth: 0 | 45 | fetch-depth: 0 |
| 46 | 46 | ||
| 47 | + - name: Update version | ||
| 48 | + shell: bash | ||
| 49 | + run: | | ||
| 50 | + ./new-release.sh | ||
| 51 | + git diff . | ||
| 52 | + | ||
| 47 | - name: ccache | 53 | - name: ccache |
| 48 | uses: hendrikmuhs/ccache-action@v1.2 | 54 | uses: hendrikmuhs/ccache-action@v1.2 |
| 49 | with: | 55 | with: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | with: | 26 | with: |
| 27 | fetch-depth: 0 | 27 | fetch-depth: 0 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: ccache | 35 | - name: ccache |
| 30 | uses: hendrikmuhs/ccache-action@v1.2 | 36 | uses: hendrikmuhs/ccache-action@v1.2 |
| 31 | with: | 37 | with: |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | steps: | 27 | steps: |
| 28 | - uses: actions/checkout@v4 | 28 | - uses: actions/checkout@v4 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ | 36 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ |
| 31 | # for a list of versions | 37 | # for a list of versions |
| 32 | - name: Build wheels | 38 | - name: Build wheels |
| @@ -25,6 +25,12 @@ jobs: | @@ -25,6 +25,12 @@ jobs: | ||
| 25 | with: | 25 | with: |
| 26 | fetch-depth: 0 | 26 | fetch-depth: 0 |
| 27 | 27 | ||
| 28 | + - name: Update version | ||
| 29 | + shell: bash | ||
| 30 | + run: | | ||
| 31 | + ./new-release.sh | ||
| 32 | + git diff . | ||
| 33 | + | ||
| 28 | - name: Setup Python | 34 | - name: Setup Python |
| 29 | uses: actions/setup-python@v5 | 35 | uses: actions/setup-python@v5 |
| 30 | with: | 36 | with: |
| @@ -29,6 +29,12 @@ jobs: | @@ -29,6 +29,12 @@ jobs: | ||
| 29 | steps: | 29 | steps: |
| 30 | - uses: actions/checkout@v4 | 30 | - uses: actions/checkout@v4 |
| 31 | 31 | ||
| 32 | + - name: Update version | ||
| 33 | + shell: bash | ||
| 34 | + run: | | ||
| 35 | + ./new-release.sh | ||
| 36 | + git diff . | ||
| 37 | + | ||
| 32 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ | 38 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ |
| 33 | # for a list of versions | 39 | # for a list of versions |
| 34 | - name: Build wheels | 40 | - name: Build wheels |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Set up QEMU | 35 | - name: Set up QEMU |
| 30 | uses: docker/setup-qemu-action@v2 | 36 | uses: docker/setup-qemu-action@v2 |
| 31 | with: | 37 | with: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Setup Python ${{ matrix.python-version }} | 35 | - name: Setup Python ${{ matrix.python-version }} |
| 30 | uses: actions/setup-python@v5 | 36 | uses: actions/setup-python@v5 |
| 31 | with: | 37 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | steps: | 28 | steps: |
| 29 | - uses: actions/checkout@v4 | 29 | - uses: actions/checkout@v4 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ | 37 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ |
| 32 | # for a list of versions | 38 | # for a list of versions |
| 33 | - name: Build wheels | 39 | - name: Build wheels |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Build wheels | 35 | - name: Build wheels |
| 30 | uses: pypa/cibuildwheel@v2.21.3 | 36 | uses: pypa/cibuildwheel@v2.21.3 |
| 31 | env: | 37 | env: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Build wheels | 35 | - name: Build wheels |
| 30 | uses: pypa/cibuildwheel@v2.21.3 | 36 | uses: pypa/cibuildwheel@v2.21.3 |
| 31 | env: | 37 | env: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ | 35 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ |
| 30 | # for a list of versions | 36 | # for a list of versions |
| 31 | - name: Build wheels | 37 | - name: Build wheels |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ | 35 | # see https://cibuildwheel.readthedocs.io/en/stable/changelog/ |
| 30 | # for a list of versions | 36 | # for a list of versions |
| 31 | - name: Build wheels | 37 | - name: Build wheels |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Setup Python ${{ matrix.python-version }} | 35 | - name: Setup Python ${{ matrix.python-version }} |
| 30 | uses: actions/setup-python@v5 | 36 | uses: actions/setup-python@v5 |
| 31 | with: | 37 | with: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | steps: | 26 | steps: |
| 27 | - uses: actions/checkout@v4 | 27 | - uses: actions/checkout@v4 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Setup Python ${{ matrix.python-version }} | 35 | - name: Setup Python ${{ matrix.python-version }} |
| 30 | uses: actions/setup-python@v5 | 36 | uses: actions/setup-python@v5 |
| 31 | with: | 37 | with: |
| @@ -43,6 +43,12 @@ jobs: | @@ -43,6 +43,12 @@ jobs: | ||
| 43 | steps: | 43 | steps: |
| 44 | - uses: actions/checkout@v4 | 44 | - uses: actions/checkout@v4 |
| 45 | 45 | ||
| 46 | + - name: Update version | ||
| 47 | + shell: bash | ||
| 48 | + run: | | ||
| 49 | + ./new-release.sh | ||
| 50 | + git diff . | ||
| 51 | + | ||
| 46 | - name: Build iOS shared | 52 | - name: Build iOS shared |
| 47 | if: matrix.with_tts == 'ON' | 53 | if: matrix.with_tts == 'ON' |
| 48 | shell: bash | 54 | shell: bash |
| @@ -44,6 +44,12 @@ jobs: | @@ -44,6 +44,12 @@ jobs: | ||
| 44 | with: | 44 | with: |
| 45 | fetch-depth: 0 | 45 | fetch-depth: 0 |
| 46 | 46 | ||
| 47 | + - name: Update version | ||
| 48 | + shell: bash | ||
| 49 | + run: | | ||
| 50 | + ./new-release.sh | ||
| 51 | + git diff . | ||
| 52 | + | ||
| 47 | - name: ccache | 53 | - name: ccache |
| 48 | uses: hendrikmuhs/ccache-action@v1.2 | 54 | uses: hendrikmuhs/ccache-action@v1.2 |
| 49 | with: | 55 | with: |
| @@ -42,6 +42,12 @@ jobs: | @@ -42,6 +42,12 @@ jobs: | ||
| 42 | with: | 42 | with: |
| 43 | fetch-depth: 0 | 43 | fetch-depth: 0 |
| 44 | 44 | ||
| 45 | + - name: Update version | ||
| 46 | + shell: bash | ||
| 47 | + run: | | ||
| 48 | + ./new-release.sh | ||
| 49 | + git diff . | ||
| 50 | + | ||
| 45 | - name: ccache | 51 | - name: ccache |
| 46 | uses: hendrikmuhs/ccache-action@v1.2 | 52 | uses: hendrikmuhs/ccache-action@v1.2 |
| 47 | with: | 53 | with: |
| @@ -33,6 +33,12 @@ jobs: | @@ -33,6 +33,12 @@ jobs: | ||
| 33 | with: | 33 | with: |
| 34 | fetch-depth: 0 | 34 | fetch-depth: 0 |
| 35 | 35 | ||
| 36 | + - name: Update version | ||
| 37 | + shell: bash | ||
| 38 | + run: | | ||
| 39 | + ./new-release.sh | ||
| 40 | + git diff . | ||
| 41 | + | ||
| 36 | - name: Setup Python ${{ matrix.python-version }} | 42 | - name: Setup Python ${{ matrix.python-version }} |
| 37 | uses: actions/setup-python@v5 | 43 | uses: actions/setup-python@v5 |
| 38 | with: | 44 | with: |
| @@ -41,6 +41,12 @@ jobs: | @@ -41,6 +41,12 @@ jobs: | ||
| 41 | with: | 41 | with: |
| 42 | fetch-depth: 0 | 42 | fetch-depth: 0 |
| 43 | 43 | ||
| 44 | + - name: Update version | ||
| 45 | + shell: bash | ||
| 46 | + run: | | ||
| 47 | + ./new-release.sh | ||
| 48 | + git diff . | ||
| 49 | + | ||
| 44 | - name: ccache | 50 | - name: ccache |
| 45 | uses: hendrikmuhs/ccache-action@v1.2 | 51 | uses: hendrikmuhs/ccache-action@v1.2 |
| 46 | with: | 52 | with: |
| @@ -25,6 +25,12 @@ jobs: | @@ -25,6 +25,12 @@ jobs: | ||
| 25 | with: | 25 | with: |
| 26 | fetch-depth: 0 | 26 | fetch-depth: 0 |
| 27 | 27 | ||
| 28 | + - name: Update version | ||
| 29 | + shell: bash | ||
| 30 | + run: | | ||
| 31 | + ./new-release.sh | ||
| 32 | + git diff . | ||
| 33 | + | ||
| 28 | - name: Build sherpa-onnx | 34 | - name: Build sherpa-onnx |
| 29 | shell: bash | 35 | shell: bash |
| 30 | run: | | 36 | run: | |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | with: | 27 | with: |
| 28 | fetch-depth: 0 | 28 | fetch-depth: 0 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | - name: Display NDK HOME | 36 | - name: Display NDK HOME |
| 31 | shell: bash | 37 | shell: bash |
| 32 | run: | | 38 | run: | |
| @@ -30,10 +30,16 @@ jobs: | @@ -30,10 +30,16 @@ jobs: | ||
| 30 | index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"] | 30 | index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"] |
| 31 | 31 | ||
| 32 | steps: | 32 | steps: |
| 33 | - - uses: actions/checkout@v3 | 33 | + - uses: actions/checkout@v4 |
| 34 | with: | 34 | with: |
| 35 | fetch-depth: 0 | 35 | fetch-depth: 0 |
| 36 | 36 | ||
| 37 | + - name: Update version | ||
| 38 | + shell: bash | ||
| 39 | + run: | | ||
| 40 | + ./new-release.sh | ||
| 41 | + git diff . | ||
| 42 | + | ||
| 37 | - name: Install deps | 43 | - name: Install deps |
| 38 | shell: bash | 44 | shell: bash |
| 39 | run: | | 45 | run: | |
| @@ -235,6 +241,12 @@ jobs: | @@ -235,6 +241,12 @@ jobs: | ||
| 235 | with: | 241 | with: |
| 236 | fetch-depth: 0 | 242 | fetch-depth: 0 |
| 237 | 243 | ||
| 244 | + - name: Update version | ||
| 245 | + shell: bash | ||
| 246 | + run: | | ||
| 247 | + ./new-release.sh | ||
| 248 | + git diff . | ||
| 249 | + | ||
| 238 | - name: Retrieve artifact from ubuntu-latest | 250 | - name: Retrieve artifact from ubuntu-latest |
| 239 | uses: actions/download-artifact@v3 | 251 | uses: actions/download-artifact@v3 |
| 240 | with: | 252 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Install Python dependencies | 37 | - name: Install Python dependencies |
| 32 | shell: bash | 38 | shell: bash |
| 33 | run: | | 39 | run: | |
| @@ -134,6 +140,12 @@ jobs: | @@ -134,6 +140,12 @@ jobs: | ||
| 134 | with: | 140 | with: |
| 135 | fetch-depth: 0 | 141 | fetch-depth: 0 |
| 136 | 142 | ||
| 143 | + - name: Update version | ||
| 144 | + shell: bash | ||
| 145 | + run: | | ||
| 146 | + ./new-release.sh | ||
| 147 | + git diff . | ||
| 148 | + | ||
| 137 | - name: Install Python dependencies | 149 | - name: Install Python dependencies |
| 138 | shell: bash | 150 | shell: bash |
| 139 | run: | | 151 | run: | |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | with: | 27 | with: |
| 28 | fetch-depth: 0 | 28 | fetch-depth: 0 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | - name: Install Python dependencies | 36 | - name: Install Python dependencies |
| 31 | shell: bash | 37 | shell: bash |
| 32 | run: | | 38 | run: | |
| @@ -125,6 +131,12 @@ jobs: | @@ -125,6 +131,12 @@ jobs: | ||
| 125 | with: | 131 | with: |
| 126 | fetch-depth: 0 | 132 | fetch-depth: 0 |
| 127 | 133 | ||
| 134 | + - name: Update version | ||
| 135 | + shell: bash | ||
| 136 | + run: | | ||
| 137 | + ./new-release.sh | ||
| 138 | + git diff . | ||
| 139 | + | ||
| 128 | - name: Install Python dependencies | 140 | - name: Install Python dependencies |
| 129 | shell: bash | 141 | shell: bash |
| 130 | run: | | 142 | run: | |
| @@ -32,6 +32,12 @@ jobs: | @@ -32,6 +32,12 @@ jobs: | ||
| 32 | with: | 32 | with: |
| 33 | fetch-depth: 0 | 33 | fetch-depth: 0 |
| 34 | 34 | ||
| 35 | + - name: Update version | ||
| 36 | + shell: bash | ||
| 37 | + run: | | ||
| 38 | + ./new-release.sh | ||
| 39 | + git diff . | ||
| 40 | + | ||
| 35 | # https://github.com/actions/setup-java | 41 | # https://github.com/actions/setup-java |
| 36 | - uses: actions/setup-java@v4 | 42 | - uses: actions/setup-java@v4 |
| 37 | with: | 43 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: ccache | 37 | - name: ccache |
| 32 | uses: hendrikmuhs/ccache-action@v1.2 | 38 | uses: hendrikmuhs/ccache-action@v1.2 |
| 33 | with: | 39 | with: |
| @@ -29,6 +29,12 @@ jobs: | @@ -29,6 +29,12 @@ jobs: | ||
| 29 | with: | 29 | with: |
| 30 | fetch-depth: 0 | 30 | fetch-depth: 0 |
| 31 | 31 | ||
| 32 | + - name: Update version | ||
| 33 | + shell: bash | ||
| 34 | + run: | | ||
| 35 | + ./new-release.sh | ||
| 36 | + git diff . | ||
| 37 | + | ||
| 32 | - name: ccache | 38 | - name: ccache |
| 33 | uses: hendrikmuhs/ccache-action@v1.2 | 39 | uses: hendrikmuhs/ccache-action@v1.2 |
| 34 | with: | 40 | with: |
| @@ -42,6 +42,12 @@ jobs: | @@ -42,6 +42,12 @@ jobs: | ||
| 42 | with: | 42 | with: |
| 43 | fetch-depth: 0 | 43 | fetch-depth: 0 |
| 44 | 44 | ||
| 45 | + - name: Update version | ||
| 46 | + shell: bash | ||
| 47 | + run: | | ||
| 48 | + ./new-release.sh | ||
| 49 | + git diff . | ||
| 50 | + | ||
| 45 | - name: ccache | 51 | - name: ccache |
| 46 | uses: hendrikmuhs/ccache-action@v1.2 | 52 | uses: hendrikmuhs/ccache-action@v1.2 |
| 47 | with: | 53 | with: |
| @@ -48,6 +48,12 @@ jobs: | @@ -48,6 +48,12 @@ jobs: | ||
| 48 | with: | 48 | with: |
| 49 | fetch-depth: 0 | 49 | fetch-depth: 0 |
| 50 | 50 | ||
| 51 | + - name: Update version | ||
| 52 | + shell: bash | ||
| 53 | + run: | | ||
| 54 | + ./new-release.sh | ||
| 55 | + git diff . | ||
| 56 | + | ||
| 51 | - name: ccache | 57 | - name: ccache |
| 52 | uses: hendrikmuhs/ccache-action@v1.2 | 58 | uses: hendrikmuhs/ccache-action@v1.2 |
| 53 | with: | 59 | with: |
| @@ -259,6 +265,12 @@ jobs: | @@ -259,6 +265,12 @@ jobs: | ||
| 259 | with: | 265 | with: |
| 260 | fetch-depth: 0 | 266 | fetch-depth: 0 |
| 261 | 267 | ||
| 268 | + - name: Update version | ||
| 269 | + shell: bash | ||
| 270 | + run: | | ||
| 271 | + ./new-release.sh | ||
| 272 | + git diff . | ||
| 273 | + | ||
| 262 | - name: Retrieve artifact from windows x64 | 274 | - name: Retrieve artifact from windows x64 |
| 263 | uses: actions/download-artifact@v4 | 275 | uses: actions/download-artifact@v4 |
| 264 | with: | 276 | with: |
| @@ -56,6 +56,12 @@ jobs: | @@ -56,6 +56,12 @@ jobs: | ||
| 56 | with: | 56 | with: |
| 57 | fetch-depth: 0 | 57 | fetch-depth: 0 |
| 58 | 58 | ||
| 59 | + - name: Update version | ||
| 60 | + shell: bash | ||
| 61 | + run: | | ||
| 62 | + ./new-release.sh | ||
| 63 | + git diff . | ||
| 64 | + | ||
| 59 | - name: Build sherpa-onnx | 65 | - name: Build sherpa-onnx |
| 60 | uses: addnab/docker-run-action@v3 | 66 | uses: addnab/docker-run-action@v3 |
| 61 | with: | 67 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - uses: actions/setup-java@v4 | 37 | - uses: actions/setup-java@v4 |
| 32 | with: | 38 | with: |
| 33 | distribution: 'temurin' # See 'Supported distributions' for available options | 39 | distribution: 'temurin' # See 'Supported distributions' for available options |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | with: | 27 | with: |
| 28 | fetch-depth: 0 | 28 | fetch-depth: 0 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | - uses: actions/setup-java@v4 | 36 | - uses: actions/setup-java@v4 |
| 31 | with: | 37 | with: |
| 32 | distribution: 'temurin' # See 'Supported distributions' for available options | 38 | distribution: 'temurin' # See 'Supported distributions' for available options |
| @@ -74,6 +74,12 @@ jobs: | @@ -74,6 +74,12 @@ jobs: | ||
| 74 | with: | 74 | with: |
| 75 | fetch-depth: 0 | 75 | fetch-depth: 0 |
| 76 | 76 | ||
| 77 | + - name: Update version | ||
| 78 | + shell: bash | ||
| 79 | + run: | | ||
| 80 | + ./new-release.sh | ||
| 81 | + git diff . | ||
| 82 | + | ||
| 77 | - name: Display PWD | 83 | - name: Display PWD |
| 78 | shell: bash | 84 | shell: bash |
| 79 | run: | | 85 | run: | |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - uses: actions/setup-java@v4 | 37 | - uses: actions/setup-java@v4 |
| 32 | with: | 38 | with: |
| 33 | distribution: 'temurin' # See 'Supported distributions' for available options | 39 | distribution: 'temurin' # See 'Supported distributions' for available options |
| @@ -71,6 +71,12 @@ jobs: | @@ -71,6 +71,12 @@ jobs: | ||
| 71 | with: | 71 | with: |
| 72 | fetch-depth: 0 | 72 | fetch-depth: 0 |
| 73 | 73 | ||
| 74 | + - name: Update version | ||
| 75 | + shell: bash | ||
| 76 | + run: | | ||
| 77 | + ./new-release.sh | ||
| 78 | + git diff . | ||
| 79 | + | ||
| 74 | - name: ccache | 80 | - name: ccache |
| 75 | uses: hendrikmuhs/ccache-action@v1.2 | 81 | uses: hendrikmuhs/ccache-action@v1.2 |
| 76 | with: | 82 | with: |
| @@ -43,6 +43,12 @@ jobs: | @@ -43,6 +43,12 @@ jobs: | ||
| 43 | with: | 43 | with: |
| 44 | fetch-depth: 0 | 44 | fetch-depth: 0 |
| 45 | 45 | ||
| 46 | + - name: Update version | ||
| 47 | + shell: bash | ||
| 48 | + run: | | ||
| 49 | + ./new-release.sh | ||
| 50 | + git diff . | ||
| 51 | + | ||
| 46 | - name: Display MSBuild info | 52 | - name: Display MSBuild info |
| 47 | shell: cmd | 53 | shell: cmd |
| 48 | run: | | 54 | run: | |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | steps: | 27 | steps: |
| 28 | - uses: actions/checkout@v4 | 28 | - uses: actions/checkout@v4 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | - name: Setup Python ${{ matrix.python-version }} | 36 | - name: Setup Python ${{ matrix.python-version }} |
| 31 | uses: actions/setup-python@v5 | 37 | uses: actions/setup-python@v5 |
| 32 | with: | 38 | with: |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | steps: | 27 | steps: |
| 28 | - uses: actions/checkout@v4 | 28 | - uses: actions/checkout@v4 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | - name: Setup Python ${{ matrix.python-version }} | 36 | - name: Setup Python ${{ matrix.python-version }} |
| 31 | uses: actions/setup-python@v5 | 37 | uses: actions/setup-python@v5 |
| 32 | with: | 38 | with: |
| @@ -32,6 +32,12 @@ jobs: | @@ -32,6 +32,12 @@ jobs: | ||
| 32 | with: | 32 | with: |
| 33 | fetch-depth: 0 | 33 | fetch-depth: 0 |
| 34 | 34 | ||
| 35 | + - name: Update version | ||
| 36 | + shell: bash | ||
| 37 | + run: | | ||
| 38 | + ./new-release.sh | ||
| 39 | + git diff . | ||
| 40 | + | ||
| 35 | - name: Set up QEMU | 41 | - name: Set up QEMU |
| 36 | uses: docker/setup-qemu-action@v2 | 42 | uses: docker/setup-qemu-action@v2 |
| 37 | with: | 43 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Set up QEMU | 37 | - name: Set up QEMU |
| 32 | uses: docker/setup-qemu-action@v2 | 38 | uses: docker/setup-qemu-action@v2 |
| 33 | with: | 39 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Setup Python ${{ matrix.python-version }} | 37 | - name: Setup Python ${{ matrix.python-version }} |
| 32 | uses: actions/setup-python@v5 | 38 | uses: actions/setup-python@v5 |
| 33 | with: | 39 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Setup Python ${{ matrix.python-version }} | 37 | - name: Setup Python ${{ matrix.python-version }} |
| 32 | uses: actions/setup-python@v5 | 38 | uses: actions/setup-python@v5 |
| 33 | with: | 39 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Setup Python ${{ matrix.python-version }} | 37 | - name: Setup Python ${{ matrix.python-version }} |
| 32 | uses: actions/setup-python@v5 | 38 | uses: actions/setup-python@v5 |
| 33 | with: | 39 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Setup Python ${{ matrix.python-version }} | 37 | - name: Setup Python ${{ matrix.python-version }} |
| 32 | uses: actions/setup-python@v5 | 38 | uses: actions/setup-python@v5 |
| 33 | with: | 39 | with: |
| @@ -144,6 +150,12 @@ jobs: | @@ -144,6 +150,12 @@ jobs: | ||
| 144 | with: | 150 | with: |
| 145 | fetch-depth: 0 | 151 | fetch-depth: 0 |
| 146 | 152 | ||
| 153 | + - name: Update version | ||
| 154 | + shell: bash | ||
| 155 | + run: | | ||
| 156 | + ./new-release.sh | ||
| 157 | + git diff . | ||
| 158 | + | ||
| 147 | - uses: actions/setup-node@v4 | 159 | - uses: actions/setup-node@v4 |
| 148 | with: | 160 | with: |
| 149 | registry-url: 'https://registry.npmjs.org' | 161 | registry-url: 'https://registry.npmjs.org' |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Setup Python ${{ matrix.python-version }} | 37 | - name: Setup Python ${{ matrix.python-version }} |
| 32 | uses: actions/setup-python@v5 | 38 | uses: actions/setup-python@v5 |
| 33 | with: | 39 | with: |
| @@ -28,6 +28,12 @@ jobs: | @@ -28,6 +28,12 @@ jobs: | ||
| 28 | with: | 28 | with: |
| 29 | fetch-depth: 0 | 29 | fetch-depth: 0 |
| 30 | 30 | ||
| 31 | + - name: Update version | ||
| 32 | + shell: bash | ||
| 33 | + run: | | ||
| 34 | + ./new-release.sh | ||
| 35 | + git diff . | ||
| 36 | + | ||
| 31 | - name: Install emsdk | 37 | - name: Install emsdk |
| 32 | uses: mymindstorm/setup-emsdk@v14 | 38 | uses: mymindstorm/setup-emsdk@v14 |
| 33 | with: | 39 | with: |
| @@ -44,6 +44,12 @@ jobs: | @@ -44,6 +44,12 @@ jobs: | ||
| 44 | with: | 44 | with: |
| 45 | fetch-depth: 0 | 45 | fetch-depth: 0 |
| 46 | 46 | ||
| 47 | + - name: Update version | ||
| 48 | + shell: bash | ||
| 49 | + run: | | ||
| 50 | + ./new-release.sh | ||
| 51 | + git diff . | ||
| 52 | + | ||
| 47 | - name: ccache | 53 | - name: ccache |
| 48 | uses: hendrikmuhs/ccache-action@v1.2 | 54 | uses: hendrikmuhs/ccache-action@v1.2 |
| 49 | with: | 55 | with: |
| @@ -46,6 +46,12 @@ jobs: | @@ -46,6 +46,12 @@ jobs: | ||
| 46 | with: | 46 | with: |
| 47 | fetch-depth: 0 | 47 | fetch-depth: 0 |
| 48 | 48 | ||
| 49 | + - name: Update version | ||
| 50 | + shell: bash | ||
| 51 | + run: | | ||
| 52 | + ./new-release.sh | ||
| 53 | + git diff . | ||
| 54 | + | ||
| 49 | - name: ccache | 55 | - name: ccache |
| 50 | uses: hendrikmuhs/ccache-action@v1.2 | 56 | uses: hendrikmuhs/ccache-action@v1.2 |
| 51 | with: | 57 | with: |
| @@ -24,6 +24,12 @@ jobs: | @@ -24,6 +24,12 @@ jobs: | ||
| 24 | steps: | 24 | steps: |
| 25 | - uses: actions/checkout@v4 | 25 | - uses: actions/checkout@v4 |
| 26 | 26 | ||
| 27 | + - name: Update version | ||
| 28 | + shell: bash | ||
| 29 | + run: | | ||
| 30 | + ./new-release.sh | ||
| 31 | + git diff . | ||
| 32 | + | ||
| 27 | - name: Fix version | 33 | - name: Fix version |
| 28 | shell: bash | 34 | shell: bash |
| 29 | run: | | 35 | run: | |
| @@ -121,6 +127,12 @@ jobs: | @@ -121,6 +127,12 @@ jobs: | ||
| 121 | steps: | 127 | steps: |
| 122 | - uses: actions/checkout@v4 | 128 | - uses: actions/checkout@v4 |
| 123 | 129 | ||
| 130 | + - name: Update version | ||
| 131 | + shell: bash | ||
| 132 | + run: | | ||
| 133 | + ./new-release.sh | ||
| 134 | + git diff . | ||
| 135 | + | ||
| 124 | - name: ccache | 136 | - name: ccache |
| 125 | uses: hendrikmuhs/ccache-action@v1.2 | 137 | uses: hendrikmuhs/ccache-action@v1.2 |
| 126 | with: | 138 | with: |
| @@ -223,6 +235,12 @@ jobs: | @@ -223,6 +235,12 @@ jobs: | ||
| 223 | steps: | 235 | steps: |
| 224 | - uses: actions/checkout@v4 | 236 | - uses: actions/checkout@v4 |
| 225 | 237 | ||
| 238 | + - name: Update version | ||
| 239 | + shell: bash | ||
| 240 | + run: | | ||
| 241 | + ./new-release.sh | ||
| 242 | + git diff . | ||
| 243 | + | ||
| 226 | - name: Fix version | 244 | - name: Fix version |
| 227 | shell: bash | 245 | shell: bash |
| 228 | run: | | 246 | run: | |
| @@ -307,6 +325,12 @@ jobs: | @@ -307,6 +325,12 @@ jobs: | ||
| 307 | steps: | 325 | steps: |
| 308 | - uses: actions/checkout@v4 | 326 | - uses: actions/checkout@v4 |
| 309 | 327 | ||
| 328 | + - name: Update version | ||
| 329 | + shell: bash | ||
| 330 | + run: | | ||
| 331 | + ./new-release.sh | ||
| 332 | + git diff . | ||
| 333 | + | ||
| 310 | - name: ccache | 334 | - name: ccache |
| 311 | uses: hendrikmuhs/ccache-action@v1.2 | 335 | uses: hendrikmuhs/ccache-action@v1.2 |
| 312 | with: | 336 | with: |
| @@ -438,6 +462,12 @@ jobs: | @@ -438,6 +462,12 @@ jobs: | ||
| 438 | steps: | 462 | steps: |
| 439 | - uses: actions/checkout@v4 | 463 | - uses: actions/checkout@v4 |
| 440 | 464 | ||
| 465 | + - name: Update version | ||
| 466 | + shell: bash | ||
| 467 | + run: | | ||
| 468 | + ./new-release.sh | ||
| 469 | + git diff . | ||
| 470 | + | ||
| 441 | - name: ccache | 471 | - name: ccache |
| 442 | uses: hendrikmuhs/ccache-action@v1.2 | 472 | uses: hendrikmuhs/ccache-action@v1.2 |
| 443 | with: | 473 | with: |
| @@ -517,6 +547,12 @@ jobs: | @@ -517,6 +547,12 @@ jobs: | ||
| 517 | steps: | 547 | steps: |
| 518 | - uses: actions/checkout@v4 | 548 | - uses: actions/checkout@v4 |
| 519 | 549 | ||
| 550 | + - name: Update version | ||
| 551 | + shell: bash | ||
| 552 | + run: | | ||
| 553 | + ./new-release.sh | ||
| 554 | + git diff . | ||
| 555 | + | ||
| 520 | - name: Setup Flutter SDK | 556 | - name: Setup Flutter SDK |
| 521 | uses: flutter-actions/setup-flutter@v3 | 557 | uses: flutter-actions/setup-flutter@v3 |
| 522 | with: | 558 | with: |
| @@ -15,6 +15,12 @@ jobs: | @@ -15,6 +15,12 @@ jobs: | ||
| 15 | steps: | 15 | steps: |
| 16 | - uses: actions/checkout@v4 | 16 | - uses: actions/checkout@v4 |
| 17 | 17 | ||
| 18 | + - name: Update version | ||
| 19 | + shell: bash | ||
| 20 | + run: | | ||
| 21 | + ./new-release.sh | ||
| 22 | + git diff . | ||
| 23 | + | ||
| 18 | - name: Add SSH key | 24 | - name: Add SSH key |
| 19 | run: | | 25 | run: | |
| 20 | mkdir -p ~/.ssh/ | 26 | mkdir -p ~/.ssh/ |
| @@ -45,6 +45,12 @@ jobs: | @@ -45,6 +45,12 @@ jobs: | ||
| 45 | with: | 45 | with: |
| 46 | fetch-depth: 0 | 46 | fetch-depth: 0 |
| 47 | 47 | ||
| 48 | + - name: Update version | ||
| 49 | + shell: bash | ||
| 50 | + run: | | ||
| 51 | + ./new-release.sh | ||
| 52 | + git diff . | ||
| 53 | + | ||
| 48 | - name: ccache | 54 | - name: ccache |
| 49 | uses: hendrikmuhs/ccache-action@v1.2 | 55 | uses: hendrikmuhs/ccache-action@v1.2 |
| 50 | with: | 56 | with: |
| @@ -49,6 +49,12 @@ jobs: | @@ -49,6 +49,12 @@ jobs: | ||
| 49 | with: | 49 | with: |
| 50 | fetch-depth: 0 | 50 | fetch-depth: 0 |
| 51 | 51 | ||
| 52 | + - name: Update version | ||
| 53 | + shell: bash | ||
| 54 | + run: | | ||
| 55 | + ./new-release.sh | ||
| 56 | + git diff . | ||
| 57 | + | ||
| 52 | - name: ccache | 58 | - name: ccache |
| 53 | uses: hendrikmuhs/ccache-action@v1.2 | 59 | uses: hendrikmuhs/ccache-action@v1.2 |
| 54 | with: | 60 | with: |
| @@ -43,6 +43,12 @@ jobs: | @@ -43,6 +43,12 @@ jobs: | ||
| 43 | with: | 43 | with: |
| 44 | fetch-depth: 0 | 44 | fetch-depth: 0 |
| 45 | 45 | ||
| 46 | + - name: Update version | ||
| 47 | + shell: bash | ||
| 48 | + run: | | ||
| 49 | + ./new-release.sh | ||
| 50 | + git diff . | ||
| 51 | + | ||
| 46 | - name: ccache | 52 | - name: ccache |
| 47 | uses: hendrikmuhs/ccache-action@v1.2 | 53 | uses: hendrikmuhs/ccache-action@v1.2 |
| 48 | with: | 54 | with: |
| @@ -105,6 +111,12 @@ jobs: | @@ -105,6 +111,12 @@ jobs: | ||
| 105 | make -j4 | 111 | make -j4 |
| 106 | ls -lh lib | 112 | ls -lh lib |
| 107 | 113 | ||
| 114 | + - name: Run java version test | ||
| 115 | + shell: bash | ||
| 116 | + run: | | ||
| 117 | + cd ./java-api-examples | ||
| 118 | + ./run-version-test.sh | ||
| 119 | + | ||
| 108 | - name: Run java test (Non-streaming SenseVoice with homophone replacer) | 120 | - name: Run java test (Non-streaming SenseVoice with homophone replacer) |
| 109 | shell: bash | 121 | shell: bash |
| 110 | run: | | 122 | run: | |
| @@ -60,6 +60,12 @@ jobs: | @@ -60,6 +60,12 @@ jobs: | ||
| 60 | with: | 60 | with: |
| 61 | fetch-depth: 0 | 61 | fetch-depth: 0 |
| 62 | 62 | ||
| 63 | + - name: Update version | ||
| 64 | + shell: bash | ||
| 65 | + run: | | ||
| 66 | + ./new-release.sh | ||
| 67 | + git diff . | ||
| 68 | + | ||
| 63 | - name: Display OS version | 69 | - name: Display OS version |
| 64 | shell: bash | 70 | shell: bash |
| 65 | run: | | 71 | run: | |
| @@ -55,6 +55,12 @@ jobs: | @@ -55,6 +55,12 @@ jobs: | ||
| 55 | with: | 55 | with: |
| 56 | fetch-depth: 0 | 56 | fetch-depth: 0 |
| 57 | 57 | ||
| 58 | + - name: Update version | ||
| 59 | + shell: bash | ||
| 60 | + run: | | ||
| 61 | + ./new-release.sh | ||
| 62 | + git diff . | ||
| 63 | + | ||
| 58 | - name: Display OS version | 64 | - name: Display OS version |
| 59 | shell: bash | 65 | shell: bash |
| 60 | run: | | 66 | run: | |
| @@ -30,6 +30,12 @@ jobs: | @@ -30,6 +30,12 @@ jobs: | ||
| 30 | with: | 30 | with: |
| 31 | fetch-depth: 0 | 31 | fetch-depth: 0 |
| 32 | 32 | ||
| 33 | + - name: Update version | ||
| 34 | + shell: bash | ||
| 35 | + run: | | ||
| 36 | + ./new-release.sh | ||
| 37 | + git diff . | ||
| 38 | + | ||
| 33 | - name: ccache | 39 | - name: ccache |
| 34 | uses: hendrikmuhs/ccache-action@v1.2 | 40 | uses: hendrikmuhs/ccache-action@v1.2 |
| 35 | with: | 41 | with: |
| @@ -25,6 +25,12 @@ jobs: | @@ -25,6 +25,12 @@ jobs: | ||
| 25 | with: | 25 | with: |
| 26 | fetch-depth: 0 | 26 | fetch-depth: 0 |
| 27 | 27 | ||
| 28 | + - name: Update version | ||
| 29 | + shell: bash | ||
| 30 | + run: | | ||
| 31 | + ./new-release.sh | ||
| 32 | + git diff . | ||
| 33 | + | ||
| 28 | - name: ccache | 34 | - name: ccache |
| 29 | uses: hendrikmuhs/ccache-action@v1.2 | 35 | uses: hendrikmuhs/ccache-action@v1.2 |
| 30 | with: | 36 | with: |
| @@ -46,6 +46,12 @@ jobs: | @@ -46,6 +46,12 @@ jobs: | ||
| 46 | with: | 46 | with: |
| 47 | fetch-depth: 0 | 47 | fetch-depth: 0 |
| 48 | 48 | ||
| 49 | + - name: Update version | ||
| 50 | + shell: bash | ||
| 51 | + run: | | ||
| 52 | + ./new-release.sh | ||
| 53 | + git diff . | ||
| 54 | + | ||
| 49 | - name: ccache | 55 | - name: ccache |
| 50 | uses: hendrikmuhs/ccache-action@v1.2 | 56 | uses: hendrikmuhs/ccache-action@v1.2 |
| 51 | with: | 57 | with: |
| @@ -80,6 +80,12 @@ jobs: | @@ -80,6 +80,12 @@ jobs: | ||
| 80 | with: | 80 | with: |
| 81 | fetch-depth: 0 | 81 | fetch-depth: 0 |
| 82 | 82 | ||
| 83 | + - name: Update version | ||
| 84 | + shell: bash | ||
| 85 | + run: | | ||
| 86 | + ./new-release.sh | ||
| 87 | + git diff . | ||
| 88 | + | ||
| 83 | - name: Setup Python ${{ matrix.python-version }} | 89 | - name: Setup Python ${{ matrix.python-version }} |
| 84 | uses: actions/setup-python@v5 | 90 | uses: actions/setup-python@v5 |
| 85 | with: | 91 | with: |
| @@ -30,6 +30,12 @@ jobs: | @@ -30,6 +30,12 @@ jobs: | ||
| 30 | with: | 30 | with: |
| 31 | fetch-depth: 0 | 31 | fetch-depth: 0 |
| 32 | 32 | ||
| 33 | + - name: Update version | ||
| 34 | + shell: bash | ||
| 35 | + run: | | ||
| 36 | + ./new-release.sh | ||
| 37 | + git diff . | ||
| 38 | + | ||
| 33 | - name: Setup Flutter SDK | 39 | - name: Setup Flutter SDK |
| 34 | uses: flutter-actions/setup-flutter@v3 | 40 | uses: flutter-actions/setup-flutter@v3 |
| 35 | with: | 41 | with: |
| @@ -39,6 +39,12 @@ jobs: | @@ -39,6 +39,12 @@ jobs: | ||
| 39 | with: | 39 | with: |
| 40 | fetch-depth: 0 | 40 | fetch-depth: 0 |
| 41 | 41 | ||
| 42 | + - name: Update version | ||
| 43 | + shell: bash | ||
| 44 | + run: | | ||
| 45 | + ./new-release.sh | ||
| 46 | + git diff . | ||
| 47 | + | ||
| 42 | - name: ccache | 48 | - name: ccache |
| 43 | uses: hendrikmuhs/ccache-action@v1.2 | 49 | uses: hendrikmuhs/ccache-action@v1.2 |
| 44 | with: | 50 | with: |
| @@ -32,6 +32,12 @@ jobs: | @@ -32,6 +32,12 @@ jobs: | ||
| 32 | with: | 32 | with: |
| 33 | fetch-depth: 0 | 33 | fetch-depth: 0 |
| 34 | 34 | ||
| 35 | + - name: Update version | ||
| 36 | + shell: bash | ||
| 37 | + run: | | ||
| 38 | + ./new-release.sh | ||
| 39 | + git diff . | ||
| 40 | + | ||
| 35 | - name: Free space | 41 | - name: Free space |
| 36 | if: matrix.os == 'ubuntu-latest' | 42 | if: matrix.os == 'ubuntu-latest' |
| 37 | shell: bash | 43 | shell: bash |
| @@ -45,6 +45,12 @@ jobs: | @@ -45,6 +45,12 @@ jobs: | ||
| 45 | with: | 45 | with: |
| 46 | fetch-depth: 0 | 46 | fetch-depth: 0 |
| 47 | 47 | ||
| 48 | + - name: Update version | ||
| 49 | + shell: bash | ||
| 50 | + run: | | ||
| 51 | + ./new-release.sh | ||
| 52 | + git diff . | ||
| 53 | + | ||
| 48 | - name: ccache | 54 | - name: ccache |
| 49 | uses: hendrikmuhs/ccache-action@v1.2 | 55 | uses: hendrikmuhs/ccache-action@v1.2 |
| 50 | with: | 56 | with: |
| @@ -138,6 +144,12 @@ jobs: | @@ -138,6 +144,12 @@ jobs: | ||
| 138 | with: | 144 | with: |
| 139 | fetch-depth: 0 | 145 | fetch-depth: 0 |
| 140 | 146 | ||
| 147 | + - name: Update version | ||
| 148 | + shell: bash | ||
| 149 | + run: | | ||
| 150 | + ./new-release.sh | ||
| 151 | + git diff . | ||
| 152 | + | ||
| 141 | - name: Setup Python ${{ matrix.python-version }} | 153 | - name: Setup Python ${{ matrix.python-version }} |
| 142 | uses: actions/setup-python@v5 | 154 | uses: actions/setup-python@v5 |
| 143 | with: | 155 | with: |
| @@ -45,6 +45,12 @@ jobs: | @@ -45,6 +45,12 @@ jobs: | ||
| 45 | with: | 45 | with: |
| 46 | go-version: '>=1.17' | 46 | go-version: '>=1.17' |
| 47 | 47 | ||
| 48 | + - name: Update version | ||
| 49 | + shell: bash | ||
| 50 | + run: | | ||
| 51 | + ./new-release.sh | ||
| 52 | + git diff . | ||
| 53 | + | ||
| 48 | - name: Display go version | 54 | - name: Display go version |
| 49 | shell: bash | 55 | shell: bash |
| 50 | run: | | 56 | run: | |
| @@ -40,6 +40,12 @@ jobs: | @@ -40,6 +40,12 @@ jobs: | ||
| 40 | with: | 40 | with: |
| 41 | fetch-depth: 0 | 41 | fetch-depth: 0 |
| 42 | 42 | ||
| 43 | + - name: Update version | ||
| 44 | + shell: bash | ||
| 45 | + run: | | ||
| 46 | + ./new-release.sh | ||
| 47 | + git diff . | ||
| 48 | + | ||
| 43 | - name: ccache | 49 | - name: ccache |
| 44 | uses: hendrikmuhs/ccache-action@v1.2 | 50 | uses: hendrikmuhs/ccache-action@v1.2 |
| 45 | with: | 51 | with: |
| @@ -46,6 +46,12 @@ jobs: | @@ -46,6 +46,12 @@ jobs: | ||
| 46 | with: | 46 | with: |
| 47 | fetch-depth: 0 | 47 | fetch-depth: 0 |
| 48 | 48 | ||
| 49 | + - name: Update version | ||
| 50 | + shell: bash | ||
| 51 | + run: | | ||
| 52 | + ./new-release.sh | ||
| 53 | + git diff . | ||
| 54 | + | ||
| 49 | - name: Setup Python ${{ matrix.python-version }} | 55 | - name: Setup Python ${{ matrix.python-version }} |
| 50 | uses: actions/setup-python@v5 | 56 | uses: actions/setup-python@v5 |
| 51 | with: | 57 | with: |
| @@ -47,6 +47,12 @@ jobs: | @@ -47,6 +47,12 @@ jobs: | ||
| 47 | with: | 47 | with: |
| 48 | fetch-depth: 0 | 48 | fetch-depth: 0 |
| 49 | 49 | ||
| 50 | + - name: Update version | ||
| 51 | + shell: bash | ||
| 52 | + run: | | ||
| 53 | + ./new-release.sh | ||
| 54 | + git diff . | ||
| 55 | + | ||
| 50 | - name: Set up QEMU | 56 | - name: Set up QEMU |
| 51 | uses: docker/setup-qemu-action@v2 | 57 | uses: docker/setup-qemu-action@v2 |
| 52 | with: | 58 | with: |
| @@ -50,6 +50,12 @@ jobs: | @@ -50,6 +50,12 @@ jobs: | ||
| 50 | with: | 50 | with: |
| 51 | fetch-depth: 0 | 51 | fetch-depth: 0 |
| 52 | 52 | ||
| 53 | + - name: Update version | ||
| 54 | + shell: bash | ||
| 55 | + run: | | ||
| 56 | + ./new-release.sh | ||
| 57 | + git diff . | ||
| 58 | + | ||
| 53 | - uses: actions/setup-node@v4 | 59 | - uses: actions/setup-node@v4 |
| 54 | with: | 60 | with: |
| 55 | registry-url: 'https://registry.npmjs.org' | 61 | registry-url: 'https://registry.npmjs.org' |
| @@ -48,6 +48,12 @@ jobs: | @@ -48,6 +48,12 @@ jobs: | ||
| 48 | with: | 48 | with: |
| 49 | fetch-depth: 0 | 49 | fetch-depth: 0 |
| 50 | 50 | ||
| 51 | + - name: Update version | ||
| 52 | + shell: bash | ||
| 53 | + run: | | ||
| 54 | + ./new-release.sh | ||
| 55 | + git diff . | ||
| 56 | + | ||
| 51 | - uses: actions/setup-node@v4 | 57 | - uses: actions/setup-node@v4 |
| 52 | with: | 58 | with: |
| 53 | registry-url: 'https://registry.npmjs.org' | 59 | registry-url: 'https://registry.npmjs.org' |
| @@ -33,6 +33,12 @@ jobs: | @@ -33,6 +33,12 @@ jobs: | ||
| 33 | with: | 33 | with: |
| 34 | fetch-depth: 0 | 34 | fetch-depth: 0 |
| 35 | 35 | ||
| 36 | + - name: Update version | ||
| 37 | + shell: bash | ||
| 38 | + run: | | ||
| 39 | + ./new-release.sh | ||
| 40 | + git diff . | ||
| 41 | + | ||
| 36 | - name: Setup Python ${{ matrix.python-version }} | 42 | - name: Setup Python ${{ matrix.python-version }} |
| 37 | uses: actions/setup-python@v5 | 43 | uses: actions/setup-python@v5 |
| 38 | with: | 44 | with: |
| @@ -46,6 +46,12 @@ jobs: | @@ -46,6 +46,12 @@ jobs: | ||
| 46 | with: | 46 | with: |
| 47 | fetch-depth: 0 | 47 | fetch-depth: 0 |
| 48 | 48 | ||
| 49 | + - name: Update version | ||
| 50 | + shell: bash | ||
| 51 | + run: | | ||
| 52 | + ./new-release.sh | ||
| 53 | + git diff . | ||
| 54 | + | ||
| 49 | - name: ccache | 55 | - name: ccache |
| 50 | uses: hendrikmuhs/ccache-action@v1.2 | 56 | uses: hendrikmuhs/ccache-action@v1.2 |
| 51 | with: | 57 | with: |
| @@ -81,6 +81,12 @@ jobs: | @@ -81,6 +81,12 @@ jobs: | ||
| 81 | with: | 81 | with: |
| 82 | fetch-depth: 0 | 82 | fetch-depth: 0 |
| 83 | 83 | ||
| 84 | + - name: Update version | ||
| 85 | + shell: bash | ||
| 86 | + run: | | ||
| 87 | + ./new-release.sh | ||
| 88 | + git diff . | ||
| 89 | + | ||
| 84 | - name: Setup Python ${{ matrix.python-version }} | 90 | - name: Setup Python ${{ matrix.python-version }} |
| 85 | uses: actions/setup-python@v5 | 91 | uses: actions/setup-python@v5 |
| 86 | with: | 92 | with: |
| @@ -41,6 +41,12 @@ jobs: | @@ -41,6 +41,12 @@ jobs: | ||
| 41 | with: | 41 | with: |
| 42 | fetch-depth: 0 | 42 | fetch-depth: 0 |
| 43 | 43 | ||
| 44 | + - name: Update version | ||
| 45 | + shell: bash | ||
| 46 | + run: | | ||
| 47 | + ./new-release.sh | ||
| 48 | + git diff . | ||
| 49 | + | ||
| 44 | - name: ccache | 50 | - name: ccache |
| 45 | uses: hendrikmuhs/ccache-action@v1.2 | 51 | uses: hendrikmuhs/ccache-action@v1.2 |
| 46 | with: | 52 | with: |
| @@ -42,6 +42,12 @@ jobs: | @@ -42,6 +42,12 @@ jobs: | ||
| 42 | with: | 42 | with: |
| 43 | fetch-depth: 0 | 43 | fetch-depth: 0 |
| 44 | 44 | ||
| 45 | + - name: Update version | ||
| 46 | + shell: bash | ||
| 47 | + run: | | ||
| 48 | + ./new-release.sh | ||
| 49 | + git diff . | ||
| 50 | + | ||
| 45 | - name: ccache | 51 | - name: ccache |
| 46 | uses: hendrikmuhs/ccache-action@v1.2 | 52 | uses: hendrikmuhs/ccache-action@v1.2 |
| 47 | with: | 53 | with: |
| @@ -42,6 +42,12 @@ jobs: | @@ -42,6 +42,12 @@ jobs: | ||
| 42 | with: | 42 | with: |
| 43 | fetch-depth: 0 | 43 | fetch-depth: 0 |
| 44 | 44 | ||
| 45 | + - name: Update version | ||
| 46 | + shell: bash | ||
| 47 | + run: | | ||
| 48 | + ./new-release.sh | ||
| 49 | + git diff . | ||
| 50 | + | ||
| 45 | - name: ccache | 51 | - name: ccache |
| 46 | uses: hendrikmuhs/ccache-action@v1.2 | 52 | uses: hendrikmuhs/ccache-action@v1.2 |
| 47 | with: | 53 | with: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | with: | 26 | with: |
| 27 | fetch-depth: 0 | 27 | fetch-depth: 0 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Install emsdk | 35 | - name: Install emsdk |
| 30 | uses: mymindstorm/setup-emsdk@v14 | 36 | uses: mymindstorm/setup-emsdk@v14 |
| 31 | with: | 37 | with: |
| @@ -25,6 +25,13 @@ jobs: | @@ -25,6 +25,13 @@ jobs: | ||
| 25 | - uses: actions/checkout@v4 | 25 | - uses: actions/checkout@v4 |
| 26 | with: | 26 | with: |
| 27 | fetch-depth: 0 | 27 | fetch-depth: 0 |
| 28 | + | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 28 | - name: Install emsdk | 35 | - name: Install emsdk |
| 29 | uses: mymindstorm/setup-emsdk@v14 | 36 | uses: mymindstorm/setup-emsdk@v14 |
| 30 | with: | 37 | with: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | with: | 26 | with: |
| 27 | fetch-depth: 0 | 27 | fetch-depth: 0 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Install emsdk | 35 | - name: Install emsdk |
| 30 | uses: mymindstorm/setup-emsdk@v14 | 36 | uses: mymindstorm/setup-emsdk@v14 |
| 31 | with: | 37 | with: |
| @@ -26,6 +26,12 @@ jobs: | @@ -26,6 +26,12 @@ jobs: | ||
| 26 | with: | 26 | with: |
| 27 | fetch-depth: 0 | 27 | fetch-depth: 0 |
| 28 | 28 | ||
| 29 | + - name: Update version | ||
| 30 | + shell: bash | ||
| 31 | + run: | | ||
| 32 | + ./new-release.sh | ||
| 33 | + git diff . | ||
| 34 | + | ||
| 29 | - name: Install emsdk | 35 | - name: Install emsdk |
| 30 | uses: mymindstorm/setup-emsdk@v14 | 36 | uses: mymindstorm/setup-emsdk@v14 |
| 31 | with: | 37 | with: |
| @@ -27,6 +27,12 @@ jobs: | @@ -27,6 +27,12 @@ jobs: | ||
| 27 | with: | 27 | with: |
| 28 | fetch-depth: 0 | 28 | fetch-depth: 0 |
| 29 | 29 | ||
| 30 | + - name: Update version | ||
| 31 | + shell: bash | ||
| 32 | + run: | | ||
| 33 | + ./new-release.sh | ||
| 34 | + git diff . | ||
| 35 | + | ||
| 30 | - name: Install emsdk | 36 | - name: Install emsdk |
| 31 | uses: mymindstorm/setup-emsdk@v14 | 37 | uses: mymindstorm/setup-emsdk@v14 |
| 32 | with: | 38 | with: |
-
请 注册 或 登录 后发表评论