fix building doc

This commit is contained in:
Fangjun Kuang 2023-07-26 16:31:35 +08:00
parent af6e61a5a3
commit 114ea348a7
2 changed files with 14 additions and 0 deletions

View File

@ -23,6 +23,7 @@ on:
branches: branches:
- master - master
- doc - doc
workflow_dispatch:
jobs: jobs:
build-doc: build-doc:
@ -46,6 +47,17 @@ jobs:
- name: Display Python version - name: Display Python version
run: python -c "import sys; print(sys.version)" run: python -c "import sys; print(sys.version)"
- name: Update wheels
shell: bash
run: |
export GIT_LFS_SKIP_SMUDGE=1
git clone https://huggingface.co/csukuangfj/kaldifeat huggingface
cd huggingface
export KALDIFEAT_DIR=$PWD
ls -lh $KALDIFEAT_DIR
./run.sh
- name: Build doc - name: Build doc
shell: bash shell: bash
run: | run: |

View File

@ -20,6 +20,7 @@ on:
push: push:
tags: tags:
- '*' - '*'
workflow_dispatch:
jobs: jobs:
pypi: pypi:
@ -39,6 +40,7 @@ jobs:
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
python3 -m pip install wheel twine setuptools python3 -m pip install wheel twine setuptools
python3 -m pip install torch==1.10.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Build - name: Build
shell: bash shell: bash