Skip to content

Commit 6b203f3

Browse files
committed
fix scripts path
1 parent e614b7c commit 6b203f3

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/test-build-wheel.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,5 @@ jobs:
128128
- name: Test
129129
shell: bash
130130
run: |
131-
# For windows
132-
base="/c/hostedtoolcache/windows/Python/3.*/*/bin"
133-
134-
for dir in $base; do
135-
if [ -d "$dir" ]; then
136-
echo "Adding $dir to PATH"
137-
export PATH="$dir:$PATH"
138-
fi
139-
done
140-
echo "Current PATH:"
141-
echo "$PATH"
142131
which sherpa-onnx
143132
sherpa-onnx --help

.github/workflows/test-pip-install.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,6 @@ jobs:
110110
# ls -lh $p/bin
111111
# export PATH=$p/bin:$PATH
112112
113-
# For windows
114-
base="/c/hostedtoolcache/windows/Python/3.*/*/bin"
115-
116-
for dir in $base; do
117-
if [ -d "$dir" ]; then
118-
echo "Adding $dir to PATH"
119-
export PATH="$dir:$PATH"
120-
fi
121-
done
122-
echo "Current PATH:"
123-
echo "$PATH"
124-
125113
sherpa-onnx --help
126114
sherpa-onnx-keyword-spotter --help
127115
sherpa-onnx-offline --help

0 commit comments

Comments
 (0)