Fangjun Kuang
Committed by GitHub

Fix CI warnings (#590)

正在显示 38 个修改的文件 包含 57 行增加57 行删除
@@ -50,7 +50,7 @@ jobs: @@ -50,7 +50,7 @@ jobs:
50 50
51 - name: cache-qemu 51 - name: cache-qemu
52 id: cache-qemu 52 id: cache-qemu
53 - uses: actions/cache@v3 53 + uses: actions/cache@v4
54 with: 54 with:
55 path: qemu-install 55 path: qemu-install
56 key: qemu-aarch64-install-20220908 56 key: qemu-aarch64-install-20220908
@@ -79,7 +79,7 @@ jobs: @@ -79,7 +79,7 @@ jobs:
79 79
80 - name: cache-toolchain 80 - name: cache-toolchain
81 id: cache-toolchain 81 id: cache-toolchain
82 - uses: actions/cache@v3 82 + uses: actions/cache@v4
83 with: 83 with:
84 path: toolchain 84 path: toolchain
85 key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz 85 key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
@@ -170,7 +170,7 @@ jobs: @@ -170,7 +170,7 @@ jobs:
170 170
171 tar cjvf ${dst}.tar.bz2 $dst 171 tar cjvf ${dst}.tar.bz2 $dst
172 172
173 - - uses: actions/upload-artifact@v3 173 + - uses: actions/upload-artifact@v4
174 with: 174 with:
175 name: sherpa-onnx-linux-aarch64-shared 175 name: sherpa-onnx-linux-aarch64-shared
176 path: sherpa-onnx-*linux-aarch64-shared.tar.bz2 176 path: sherpa-onnx-*linux-aarch64-shared.tar.bz2
@@ -50,7 +50,7 @@ jobs: @@ -50,7 +50,7 @@ jobs:
50 50
51 - name: cache-qemu 51 - name: cache-qemu
52 id: cache-qemu 52 id: cache-qemu
53 - uses: actions/cache@v3 53 + uses: actions/cache@v4
54 with: 54 with:
55 path: qemu-install 55 path: qemu-install
56 key: qemu-aarch64-install-20220908 56 key: qemu-aarch64-install-20220908
@@ -79,7 +79,7 @@ jobs: @@ -79,7 +79,7 @@ jobs:
79 79
80 - name: cache-toolchain 80 - name: cache-toolchain
81 id: cache-toolchain 81 id: cache-toolchain
82 - uses: actions/cache@v3 82 + uses: actions/cache@v4
83 with: 83 with:
84 path: toolchain 84 path: toolchain
85 key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz 85 key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
@@ -161,7 +161,7 @@ jobs: @@ -161,7 +161,7 @@ jobs:
161 161
162 tar cjvf ${dst}.tar.bz2 $dst 162 tar cjvf ${dst}.tar.bz2 $dst
163 163
164 - - uses: actions/upload-artifact@v3 164 + - uses: actions/upload-artifact@v4
165 with: 165 with:
166 name: sherpa-onnx-linux-aarch64-static 166 name: sherpa-onnx-linux-aarch64-static
167 path: sherpa-onnx-*linux-aarch64-static.tar.bz2 167 path: sherpa-onnx-*linux-aarch64-static.tar.bz2
@@ -103,7 +103,7 @@ jobs: @@ -103,7 +103,7 @@ jobs:
103 103
104 ls -lh 104 ls -lh
105 105
106 - - uses: actions/upload-artifact@v3 106 + - uses: actions/upload-artifact@v4
107 with: 107 with:
108 name: sherpa-onnx-android-libs 108 name: sherpa-onnx-android-libs
109 path: ./jniLibs 109 path: ./jniLibs
@@ -61,7 +61,7 @@ jobs: @@ -61,7 +61,7 @@ jobs:
61 run: | 61 run: |
62 ls -lh ./apks/ 62 ls -lh ./apks/
63 63
64 - - uses: actions/upload-artifact@v3 64 + - uses: actions/upload-artifact@v4
65 with: 65 with:
66 path: ./apks/*.apk 66 path: ./apks/*.apk
67 67
@@ -84,7 +84,7 @@ jobs: @@ -84,7 +84,7 @@ jobs:
84 ls -lh ./apks/ 84 ls -lh ./apks/
85 du -h -d1 . 85 du -h -d1 .
86 86
87 - - uses: actions/upload-artifact@v3 87 + - uses: actions/upload-artifact@v4
88 if: false 88 if: false
89 with: 89 with:
90 name: tts-engine-apk 90 name: tts-engine-apk
@@ -85,7 +85,7 @@ jobs: @@ -85,7 +85,7 @@ jobs:
85 ls -lh ./apks/ 85 ls -lh ./apks/
86 du -h -d1 . 86 du -h -d1 .
87 87
88 - - uses: actions/upload-artifact@v3 88 + - uses: actions/upload-artifact@v4
89 if: false 89 if: false
90 with: 90 with:
91 name: tts-apk 91 name: tts-apk
@@ -63,7 +63,7 @@ jobs: @@ -63,7 +63,7 @@ jobs:
63 run: | 63 run: |
64 ls -lh ./apks/ 64 ls -lh ./apks/
65 65
66 - - uses: actions/upload-artifact@v3 66 + - uses: actions/upload-artifact@v4
67 with: 67 with:
68 path: ./apks/*.apk 68 path: ./apks/*.apk
69 69
@@ -51,7 +51,7 @@ jobs: @@ -51,7 +51,7 @@ jobs:
51 51
52 - name: cache-qemu 52 - name: cache-qemu
53 id: cache-qemu 53 id: cache-qemu
54 - uses: actions/cache@v3 54 + uses: actions/cache@v4
55 with: 55 with:
56 path: qemu-install 56 path: qemu-install
57 key: qemu-arm-install-20220907 57 key: qemu-arm-install-20220907
@@ -80,7 +80,7 @@ jobs: @@ -80,7 +80,7 @@ jobs:
80 80
81 - name: cache-toolchain 81 - name: cache-toolchain
82 id: cache-toolchain 82 id: cache-toolchain
83 - uses: actions/cache@v3 83 + uses: actions/cache@v4
84 with: 84 with:
85 path: toolchain 85 path: toolchain
86 key: gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf 86 key: gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
@@ -177,13 +177,13 @@ jobs: @@ -177,13 +177,13 @@ jobs:
177 177
178 tar cjvf ${dst}.tar.bz2 $dst 178 tar cjvf ${dst}.tar.bz2 $dst
179 179
180 - - uses: actions/upload-artifact@v3 180 + - uses: actions/upload-artifact@v4
181 if: matrix.lib_type == 'shared' 181 if: matrix.lib_type == 'shared'
182 with: 182 with:
183 name: sherpa-onnx-linux-arm-gnueabihf-shared 183 name: sherpa-onnx-linux-arm-gnueabihf-shared
184 path: sherpa-onnx-*linux-arm-gnueabihf-shared.tar.bz2 184 path: sherpa-onnx-*linux-arm-gnueabihf-shared.tar.bz2
185 185
186 - - uses: actions/upload-artifact@v3 186 + - uses: actions/upload-artifact@v4
187 if: matrix.lib_type == 'static' 187 if: matrix.lib_type == 'static'
188 with: 188 with:
189 name: sherpa-onnx-linux-arm-gnueabihf-static 189 name: sherpa-onnx-linux-arm-gnueabihf-static
@@ -88,7 +88,7 @@ jobs: @@ -88,7 +88,7 @@ jobs:
88 git commit -m "add more wheels" 88 git commit -m "add more wheels"
89 git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main 89 git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
90 90
91 - - uses: actions/upload-artifact@v3 91 + - uses: actions/upload-artifact@v4
92 with: 92 with:
93 path: ./wheelhouse/*.whl 93 path: ./wheelhouse/*.whl
94 94
@@ -113,7 +113,7 @@ jobs: @@ -113,7 +113,7 @@ jobs:
113 git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main 113 git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
114 114
115 - name: Upload wheel 115 - name: Upload wheel
116 - uses: actions/upload-artifact@v3 116 + uses: actions/upload-artifact@v4
117 with: 117 with:
118 name: sherpa_onnx-${{ env.SHERPA_ONNX_VERSION }}-cp${{ env.PYTHON_VERSION }}-cp${{ env.PYTHON_VERSION }}-linux_armv7l.whl.zip 118 name: sherpa_onnx-${{ env.SHERPA_ONNX_VERSION }}-cp${{ env.PYTHON_VERSION }}-cp${{ env.PYTHON_VERSION }}-linux_armv7l.whl.zip
119 path: ./wheelhouse/*.whl 119 path: ./wheelhouse/*.whl
@@ -71,7 +71,7 @@ jobs: @@ -71,7 +71,7 @@ jobs:
71 rm -rf ./wheelhouse 71 rm -rf ./wheelhouse
72 mv ./wheels ./wheelhouse 72 mv ./wheels ./wheelhouse
73 73
74 - - uses: actions/upload-artifact@v3 74 + - uses: actions/upload-artifact@v4
75 with: 75 with:
76 path: ./wheelhouse/*.whl 76 path: ./wheelhouse/*.whl
77 77
@@ -60,7 +60,7 @@ jobs: @@ -60,7 +60,7 @@ jobs:
60 60
61 ls -lh ./wheelhouse/*.whl 61 ls -lh ./wheelhouse/*.whl
62 62
63 - - uses: actions/upload-artifact@v3 63 + - uses: actions/upload-artifact@v4
64 with: 64 with:
65 path: ./wheelhouse/*.whl 65 path: ./wheelhouse/*.whl
66 66
@@ -60,7 +60,7 @@ jobs: @@ -60,7 +60,7 @@ jobs:
60 60
61 ls -lh ./wheelhouse/*.whl 61 ls -lh ./wheelhouse/*.whl
62 62
63 - - uses: actions/upload-artifact@v3 63 + - uses: actions/upload-artifact@v4
64 with: 64 with:
65 path: ./wheelhouse/*.whl 65 path: ./wheelhouse/*.whl
66 66
@@ -45,7 +45,7 @@ jobs: @@ -45,7 +45,7 @@ jobs:
45 45
46 ls -lh ./wheelhouse/*.whl 46 ls -lh ./wheelhouse/*.whl
47 47
48 - - uses: actions/upload-artifact@v3 48 + - uses: actions/upload-artifact@v4
49 with: 49 with:
50 path: ./wheelhouse/*.whl 50 path: ./wheelhouse/*.whl
51 51
@@ -44,7 +44,7 @@ jobs: @@ -44,7 +44,7 @@ jobs:
44 44
45 ls -lh ./wheelhouse/*.whl 45 ls -lh ./wheelhouse/*.whl
46 46
47 - - uses: actions/upload-artifact@v3 47 + - uses: actions/upload-artifact@v4
48 with: 48 with:
49 path: ./wheelhouse/*.whl 49 path: ./wheelhouse/*.whl
50 50
@@ -57,7 +57,7 @@ jobs: @@ -57,7 +57,7 @@ jobs:
57 57
58 ls -lh 58 ls -lh
59 59
60 - - uses: actions/upload-artifact@v3 60 + - uses: actions/upload-artifact@v4
61 with: 61 with:
62 name: sherpa-onnx-ios-libs 62 name: sherpa-onnx-ios-libs
63 path: ./build-ios 63 path: ./build-ios
@@ -22,7 +22,7 @@ jobs: @@ -22,7 +22,7 @@ jobs:
22 - uses: actions/checkout@v4 22 - uses: actions/checkout@v4
23 23
24 - name: Setup Python ${{ matrix.python-version }} 24 - name: Setup Python ${{ matrix.python-version }}
25 - uses: actions/setup-python@v4 25 + uses: actions/setup-python@v5
26 with: 26 with:
27 python-version: ${{ matrix.python-version }} 27 python-version: ${{ matrix.python-version }}
28 28
@@ -22,7 +22,7 @@ jobs: @@ -22,7 +22,7 @@ jobs:
22 - uses: actions/checkout@v4 22 - uses: actions/checkout@v4
23 23
24 - name: Setup Python ${{ matrix.python-version }} 24 - name: Setup Python ${{ matrix.python-version }}
25 - uses: actions/setup-python@v4 25 + uses: actions/setup-python@v5
26 with: 26 with:
27 python-version: ${{ matrix.python-version }} 27 python-version: ${{ matrix.python-version }}
28 28
@@ -77,17 +77,17 @@ jobs: @@ -77,17 +77,17 @@ jobs:
77 python3 ./test.py 77 python3 ./test.py
78 ls -lh *.wav 78 ls -lh *.wav
79 79
80 - - uses: actions/upload-artifact@v3 80 + - uses: actions/upload-artifact@v4
81 with: 81 with:
82 name: test-0.wav 82 name: test-0.wav
83 path: scripts/vits/test-0.wav 83 path: scripts/vits/test-0.wav
84 84
85 - - uses: actions/upload-artifact@v3 85 + - uses: actions/upload-artifact@v4
86 with: 86 with:
87 name: test-1.wav 87 name: test-1.wav
88 path: scripts/vits/test-1.wav 88 path: scripts/vits/test-1.wav
89 89
90 - - uses: actions/upload-artifact@v3 90 + - uses: actions/upload-artifact@v4
91 with: 91 with:
92 name: test-2.wav 92 name: test-2.wav
93 path: scripts/vits/test-2.wav 93 path: scripts/vits/test-2.wav
@@ -22,7 +22,7 @@ jobs: @@ -22,7 +22,7 @@ jobs:
22 - uses: actions/checkout@v4 22 - uses: actions/checkout@v4
23 23
24 - name: Setup Python ${{ matrix.python-version }} 24 - name: Setup Python ${{ matrix.python-version }}
25 - uses: actions/setup-python@v4 25 + uses: actions/setup-python@v5
26 with: 26 with:
27 python-version: ${{ matrix.python-version }} 27 python-version: ${{ matrix.python-version }}
28 28
@@ -22,7 +22,7 @@ jobs: @@ -22,7 +22,7 @@ jobs:
22 - uses: actions/checkout@v4 22 - uses: actions/checkout@v4
23 23
24 - name: Setup Python ${{ matrix.python-version }} 24 - name: Setup Python ${{ matrix.python-version }}
25 - uses: actions/setup-python@v4 25 + uses: actions/setup-python@v5
26 with: 26 with:
27 python-version: ${{ matrix.python-version }} 27 python-version: ${{ matrix.python-version }}
28 28
@@ -24,7 +24,7 @@ jobs: @@ -24,7 +24,7 @@ jobs:
24 - uses: actions/checkout@v4 24 - uses: actions/checkout@v4
25 25
26 - name: Setup Python ${{ matrix.python-version }} 26 - name: Setup Python ${{ matrix.python-version }}
27 - uses: actions/setup-python@v4 27 + uses: actions/setup-python@v5
28 with: 28 with:
29 python-version: ${{ matrix.python-version }} 29 python-version: ${{ matrix.python-version }}
30 30
@@ -129,7 +129,7 @@ jobs: @@ -129,7 +129,7 @@ jobs:
129 ls -lh build/bin/sherpa-onnx 129 ls -lh build/bin/sherpa-onnx
130 readelf -d build/bin/sherpa-onnx 130 readelf -d build/bin/sherpa-onnx
131 131
132 - - uses: actions/upload-artifact@v3 132 + - uses: actions/upload-artifact@v4
133 if: matrix.shared_lib == 'OFF' && matrix.build_type == 'Release' 133 if: matrix.shared_lib == 'OFF' && matrix.build_type == 'Release'
134 with: 134 with:
135 name: release-static 135 name: release-static
@@ -234,7 +234,7 @@ jobs: @@ -234,7 +234,7 @@ jobs:
234 overwrite: true 234 overwrite: true
235 file: sherpa-onnx-*linux-x64.tar.bz2 235 file: sherpa-onnx-*linux-x64.tar.bz2
236 236
237 - - uses: actions/upload-artifact@v3 237 + - uses: actions/upload-artifact@v4
238 with: 238 with:
239 name: tts-generated-test-files 239 name: tts-generated-test-files
240 path: tts 240 path: tts
@@ -104,19 +104,19 @@ jobs: @@ -104,19 +104,19 @@ jobs:
104 ls -lh 104 ls -lh
105 105
106 - name: Upload artifact tts 106 - name: Upload artifact tts
107 - uses: actions/upload-artifact@v3 107 + uses: actions/upload-artifact@v4
108 with: 108 with:
109 name: non-streaming-tts-${{ matrix.arch }} 109 name: non-streaming-tts-${{ matrix.arch }}
110 path: ./mfc-examples/${{ matrix.arch }}/sherpa-onnx-non-streaming-tts-*.exe 110 path: ./mfc-examples/${{ matrix.arch }}/sherpa-onnx-non-streaming-tts-*.exe
111 111
112 - name: Upload artifact 112 - name: Upload artifact
113 - uses: actions/upload-artifact@v3 113 + uses: actions/upload-artifact@v4
114 with: 114 with:
115 name: streaming-speech-recognition-${{ matrix.arch }} 115 name: streaming-speech-recognition-${{ matrix.arch }}
116 path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-streaming-asr-*.exe 116 path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-streaming-asr-*.exe
117 117
118 - name: Upload artifact 118 - name: Upload artifact
119 - uses: actions/upload-artifact@v3 119 + uses: actions/upload-artifact@v4
120 with: 120 with:
121 name: non-streaming-speech-recognition-${{ matrix.arch }} 121 name: non-streaming-speech-recognition-${{ matrix.arch }}
122 path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-non-streaming-asr-*.exe 122 path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-non-streaming-asr-*.exe
@@ -25,7 +25,7 @@ jobs: @@ -25,7 +25,7 @@ jobs:
25 fetch-depth: 0 25 fetch-depth: 0
26 26
27 - name: Setup Python ${{ matrix.python-version }} 27 - name: Setup Python ${{ matrix.python-version }}
28 - uses: actions/setup-python@v4 28 + uses: actions/setup-python@v5
29 with: 29 with:
30 python-version: ${{ matrix.python-version }} 30 python-version: ${{ matrix.python-version }}
31 31
@@ -127,7 +127,7 @@ jobs: @@ -127,7 +127,7 @@ jobs:
127 127
128 .github/scripts/test-online-transducer.sh 128 .github/scripts/test-online-transducer.sh
129 129
130 - - uses: actions/upload-artifact@v3 130 + - uses: actions/upload-artifact@v4
131 with: 131 with:
132 name: tts-generated-test-files 132 name: tts-generated-test-files
133 path: tts 133 path: tts
@@ -55,7 +55,7 @@ jobs: @@ -55,7 +55,7 @@ jobs:
55 key: ${{ matrix.os }}-python-${{ matrix.python-version }} 55 key: ${{ matrix.os }}-python-${{ matrix.python-version }}
56 56
57 - name: Setup Python 57 - name: Setup Python
58 - uses: actions/setup-python@v4 58 + uses: actions/setup-python@v5
59 with: 59 with:
60 python-version: ${{ matrix.python-version }} 60 python-version: ${{ matrix.python-version }}
61 61
@@ -79,7 +79,7 @@ jobs: @@ -79,7 +79,7 @@ jobs:
79 .github/scripts/test-speaker-recognition-python.sh 79 .github/scripts/test-speaker-recognition-python.sh
80 .github/scripts/test-python.sh 80 .github/scripts/test-python.sh
81 81
82 - - uses: actions/upload-artifact@v3 82 + - uses: actions/upload-artifact@v4
83 with: 83 with:
84 name: tts-generated-test-files 84 name: tts-generated-test-files
85 path: tts 85 path: tts
@@ -49,7 +49,7 @@ jobs: @@ -49,7 +49,7 @@ jobs:
49 fetch-depth: 0 49 fetch-depth: 0
50 50
51 - name: Setup Python ${{ matrix.python-version }} 51 - name: Setup Python ${{ matrix.python-version }}
52 - uses: actions/setup-python@v4 52 + uses: actions/setup-python@v5
53 with: 53 with:
54 python-version: ${{ matrix.python-version }} 54 python-version: ${{ matrix.python-version }}
55 55
@@ -29,7 +29,7 @@ jobs: @@ -29,7 +29,7 @@ jobs:
29 fetch-depth: 0 29 fetch-depth: 0
30 30
31 - name: Setup Python ${{ matrix.python-version }} 31 - name: Setup Python ${{ matrix.python-version }}
32 - uses: actions/setup-python@v4 32 + uses: actions/setup-python@v5
33 with: 33 with:
34 python-version: ${{ matrix.python-version }} 34 python-version: ${{ matrix.python-version }}
35 35
@@ -67,7 +67,7 @@ jobs: @@ -67,7 +67,7 @@ jobs:
67 67
68 cp dotnet-examples/offline-tts/*.wav ./tts 68 cp dotnet-examples/offline-tts/*.wav ./tts
69 69
70 - - uses: actions/upload-artifact@v3 70 + - uses: actions/upload-artifact@v4
71 with: 71 with:
72 name: dot-net-tts-generated-test-files-${{ matrix.os }} 72 name: dot-net-tts-generated-test-files-${{ matrix.os }}
73 path: tts 73 path: tts
@@ -50,7 +50,7 @@ jobs: @@ -50,7 +50,7 @@ jobs:
50 cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=Release .. 50 cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=Release ..
51 cmake --build . --target install --config Release 51 cmake --build . --target install --config Release
52 52
53 - - uses: actions/upload-artifact@v3 53 + - uses: actions/upload-artifact@v4
54 with: 54 with:
55 name: ${{ matrix.os }} 55 name: ${{ matrix.os }}
56 path: ./build/install/lib/ 56 path: ./build/install/lib/
@@ -70,7 +70,7 @@ jobs: @@ -70,7 +70,7 @@ jobs:
70 fetch-depth: 0 70 fetch-depth: 0
71 71
72 - name: Setup Python ${{ matrix.python-version }} 72 - name: Setup Python ${{ matrix.python-version }}
73 - uses: actions/setup-python@v4 73 + uses: actions/setup-python@v5
74 with: 74 with:
75 python-version: ${{ matrix.python-version }} 75 python-version: ${{ matrix.python-version }}
76 76
@@ -80,19 +80,19 @@ jobs: @@ -80,19 +80,19 @@ jobs:
80 python3 -m pip install --upgrade pip Jinja2 80 python3 -m pip install --upgrade pip Jinja2
81 81
82 - name: Retrieve artifact from ubuntu-latest 82 - name: Retrieve artifact from ubuntu-latest
83 - uses: actions/download-artifact@v2 83 + uses: actions/download-artifact@v4
84 with: 84 with:
85 name: ubuntu-latest 85 name: ubuntu-latest
86 path: /tmp/linux 86 path: /tmp/linux
87 87
88 - name: Retrieve artifact from macos-latest 88 - name: Retrieve artifact from macos-latest
89 - uses: actions/download-artifact@v2 89 + uses: actions/download-artifact@v4
90 with: 90 with:
91 name: macos-latest 91 name: macos-latest
92 path: /tmp/macos 92 path: /tmp/macos
93 93
94 - name: Retrieve artifact from windows-latest 94 - name: Retrieve artifact from windows-latest
95 - uses: actions/download-artifact@v2 95 + uses: actions/download-artifact@v4
96 with: 96 with:
97 name: windows-latest 97 name: windows-latest
98 path: /tmp/windows 98 path: /tmp/windows
@@ -37,7 +37,7 @@ jobs: @@ -37,7 +37,7 @@ jobs:
37 - uses: actions/checkout@v4 37 - uses: actions/checkout@v4
38 with: 38 with:
39 fetch-depth: 0 39 fetch-depth: 0
40 - - uses: actions/setup-go@v4 40 + - uses: actions/setup-go@v5
41 with: 41 with:
42 go-version: '>=1.12' 42 go-version: '>=1.12'
43 43
@@ -430,7 +430,7 @@ jobs: @@ -430,7 +430,7 @@ jobs:
430 ./run-paraformer.sh 430 ./run-paraformer.sh
431 rm -rf sherpa-onnx-streaming-paraformer-bilingual-zh-en 431 rm -rf sherpa-onnx-streaming-paraformer-bilingual-zh-en
432 432
433 - - uses: actions/upload-artifact@v3 433 + - uses: actions/upload-artifact@v4
434 with: 434 with:
435 name: tts-waves 435 name: tts-waves
436 path: tts-waves 436 path: tts-waves
@@ -35,7 +35,7 @@ jobs: @@ -35,7 +35,7 @@ jobs:
35 with: 35 with:
36 key: ${{ matrix.os }}-${{ matrix.arch }} 36 key: ${{ matrix.os }}-${{ matrix.arch }}
37 37
38 - - uses: actions/setup-go@v4 38 + - uses: actions/setup-go@v5
39 with: 39 with:
40 go-version: '>=1.12' 40 go-version: '>=1.12'
41 41
@@ -96,7 +96,7 @@ jobs: @@ -96,7 +96,7 @@ jobs:
96 96
97 cp *.wav ../../../../tts-waves/ 97 cp *.wav ../../../../tts-waves/
98 98
99 - - uses: actions/upload-artifact@v3 99 + - uses: actions/upload-artifact@v4
100 with: 100 with:
101 name: tts-waves 101 name: tts-waves
102 path: tts-waves 102 path: tts-waves
@@ -34,7 +34,7 @@ jobs: @@ -34,7 +34,7 @@ jobs:
34 fetch-depth: 0 34 fetch-depth: 0
35 35
36 - name: Setup Python ${{ matrix.python-version }} 36 - name: Setup Python ${{ matrix.python-version }}
37 - uses: actions/setup-python@v4 37 + uses: actions/setup-python@v5
38 with: 38 with:
39 python-version: ${{ matrix.python-version }} 39 python-version: ${{ matrix.python-version }}
40 40
@@ -52,7 +52,7 @@ jobs: @@ -52,7 +52,7 @@ jobs:
52 ls -lh install/lib 52 ls -lh install/lib
53 53
54 - name: Setup Python ${{ matrix.python-version }} 54 - name: Setup Python ${{ matrix.python-version }}
55 - uses: actions/setup-python@v4 55 + uses: actions/setup-python@v5
56 with: 56 with:
57 python-version: ${{ matrix.python-version }} 57 python-version: ${{ matrix.python-version }}
58 58
@@ -40,7 +40,7 @@ jobs: @@ -40,7 +40,7 @@ jobs:
40 fetch-depth: 0 40 fetch-depth: 0
41 41
42 - name: Setup Python ${{ matrix.python-version }} 42 - name: Setup Python ${{ matrix.python-version }}
43 - uses: actions/setup-python@v4 43 + uses: actions/setup-python@v5
44 with: 44 with:
45 python-version: ${{ matrix.python-version }} 45 python-version: ${{ matrix.python-version }}
46 46
@@ -38,7 +38,7 @@ jobs: @@ -38,7 +38,7 @@ jobs:
38 key: ${{ matrix.os }}-python-${{ matrix.python-version }} 38 key: ${{ matrix.os }}-python-${{ matrix.python-version }}
39 39
40 - name: Setup Python ${{ matrix.python-version }} 40 - name: Setup Python ${{ matrix.python-version }}
41 - uses: actions/setup-python@v4 41 + uses: actions/setup-python@v5
42 with: 42 with:
43 python-version: ${{ matrix.python-version }} 43 python-version: ${{ matrix.python-version }}
44 44
@@ -38,7 +38,7 @@ jobs: @@ -38,7 +38,7 @@ jobs:
38 key: ${{ matrix.os }}-python-${{ matrix.python-version }} 38 key: ${{ matrix.os }}-python-${{ matrix.python-version }}
39 39
40 - name: Setup Python ${{ matrix.python-version }} 40 - name: Setup Python ${{ matrix.python-version }}
41 - uses: actions/setup-python@v4 41 + uses: actions/setup-python@v5
42 with: 42 with:
43 python-version: ${{ matrix.python-version }} 43 python-version: ${{ matrix.python-version }}
44 44