Skip to content

Commit

Permalink
Fix CI warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Feb 20, 2024
1 parent d2cc48d commit 20fbe32
Show file tree
Hide file tree
Showing 38 changed files with 57 additions and 57 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/aarch64-linux-gnu-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: cache-qemu
id: cache-qemu
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: qemu-install
key: qemu-aarch64-install-20220908
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: cache-toolchain
id: cache-toolchain
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: toolchain
key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
tar cjvf ${dst}.tar.bz2 $dst
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sherpa-onnx-linux-aarch64-shared
path: sherpa-onnx-*linux-aarch64-shared.tar.bz2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aarch64-linux-gnu-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: cache-qemu
id: cache-qemu
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: qemu-install
key: qemu-aarch64-install-20220908
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: cache-toolchain
id: cache-toolchain
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: toolchain
key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
tar cjvf ${dst}.tar.bz2 $dst
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sherpa-onnx-linux-aarch64-static
path: sherpa-onnx-*linux-aarch64-static.tar.bz2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
ls -lh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sherpa-onnx-android-libs
path: ./jniLibs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apk-kws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: |
ls -lh ./apks/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./apks/*.apk

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apk-tts-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
ls -lh ./apks/
du -h -d1 .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: false
with:
name: tts-engine-apk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apk-tts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
ls -lh ./apks/
du -h -d1 .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: false
with:
name: tts-apk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: |
ls -lh ./apks/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./apks/*.apk

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/arm-linux-gnueabihf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: cache-qemu
id: cache-qemu
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: qemu-install
key: qemu-arm-install-20220907
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: cache-toolchain
id: cache-toolchain
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: toolchain
key: gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
Expand Down Expand Up @@ -177,13 +177,13 @@ jobs:
tar cjvf ${dst}.tar.bz2 $dst
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.lib_type == 'shared'
with:
name: sherpa-onnx-linux-arm-gnueabihf-shared
path: sherpa-onnx-*linux-arm-gnueabihf-shared.tar.bz2

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.lib_type == 'static'
with:
name: sherpa-onnx-linux-arm-gnueabihf-static
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
git commit -m "add more wheels"
git push https://csukuangfj:[email protected]/csukuangfj/sherpa-onnx-wheels main
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-armv7l.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
git push https://csukuangfj:[email protected]/csukuangfj/sherpa-onnx-wheels main
- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sherpa_onnx-${{ env.SHERPA_ONNX_VERSION }}-cp${{ env.PYTHON_VERSION }}-cp${{ env.PYTHON_VERSION }}-linux_armv7l.whl.zip
path: ./wheelhouse/*.whl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
rm -rf ./wheelhouse
mv ./wheels ./wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-macos-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
ls -lh ./wheelhouse/*.whl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-macos-x64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
ls -lh ./wheelhouse/*.whl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-win32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ls -lh ./wheelhouse/*.whl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-win64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
ls -lh ./wheelhouse/*.whl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-xcframework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
ls -lh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sherpa-onnx-ios-libs
path: ./build-ios
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/export-3dspeaker-to-onnx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/export-vits-ljspeech-to-onnx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ jobs:
python3 ./test.py
ls -lh *.wav
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-0.wav
path: scripts/vits/test-0.wav

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-1.wav
path: scripts/vits/test-1.wav

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-2.wav
path: scripts/vits/test-2.wav
2 changes: 1 addition & 1 deletion .github/workflows/export-wenet-to-onnx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/export-wespeaker-to-onnx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/export-whisper-to-onnx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
ls -lh build/bin/sherpa-onnx
readelf -d build/bin/sherpa-onnx
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.shared_lib == 'OFF' && matrix.build_type == 'Release'
with:
name: release-static
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
overwrite: true
file: sherpa-onnx-*linux-x64.tar.bz2

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tts-generated-test-files
path: tts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mfc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@ jobs:
ls -lh
- name: Upload artifact tts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: non-streaming-tts-${{ matrix.arch }}
path: ./mfc-examples/${{ matrix.arch }}/sherpa-onnx-non-streaming-tts-*.exe

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: streaming-speech-recognition-${{ matrix.arch }}
path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-streaming-asr-*.exe

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: non-streaming-speech-recognition-${{ matrix.arch }}
path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-non-streaming-asr-*.exe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 0

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkg-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
.github/scripts/test-online-transducer.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tts-generated-test-files
path: tts
4 changes: 2 additions & 2 deletions .github/workflows/run-python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
key: ${{ matrix.os }}-python-${{ matrix.python-version }}

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -79,7 +79,7 @@ jobs:
.github/scripts/test-speaker-recognition-python.sh
.github/scripts/test-python.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tts-generated-test-files
path: tts
2 changes: 1 addition & 1 deletion .github/workflows/style_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
fetch-depth: 0

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fetch-depth: 0

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-dot-net-nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
cp dotnet-examples/offline-tts/*.wav ./tts
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dot-net-tts-generated-test-files-${{ matrix.os }}
path: tts
Loading

0 comments on commit 20fbe32

Please sign in to comment.