mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-13 12:02:19 +00:00
small fixes
This commit is contained in:
parent
9b18a30abe
commit
db21e9051a
21
.github/workflows/windows-x64-cpu-wheels.yml
vendored
21
.github/workflows/windows-x64-cpu-wheels.yml
vendored
@ -100,11 +100,24 @@ jobs:
|
||||
git status
|
||||
git lfs track "*.whl"
|
||||
|
||||
function push_to_huggingface() {
|
||||
git clone https://huggingface.co/csukuangfj/kaldifeat huggingface
|
||||
cd huggingface
|
||||
git pull
|
||||
|
||||
mkdir -p windows-cpu
|
||||
cp -v ../wheelhouse/*.whl ./windows-cpu
|
||||
git status
|
||||
git lfs track "*.whl"
|
||||
git add .
|
||||
git commit -m "upload windows-cpu wheel for torch ${{ matrix.torch }} python ${{ matrix.python-version }}"
|
||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/kaldifeat main
|
||||
|
||||
cd ..
|
||||
rm -rf huggingface
|
||||
}
|
||||
function retry() {
|
||||
$* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*)
|
||||
}
|
||||
|
||||
retry git pull && cp -v ../wheelhouse/*.whl ./windows-cpu && git status && git add . && git commit -m "upload windows-cpu wheel for torch ${{ matrix.torch }} python ${{ matrix.python-version }}" && git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/kaldifeat main
|
||||
|
||||
cd ..
|
||||
rm -rf huggingface
|
||||
retry push_to_huggingface
|
||||
|
Loading…
x
Reference in New Issue
Block a user