Skip to content

Commit 4d7c71e

Browse files
fix: docs-and-deploy workflow - replace pip install -r requirements.txt with uv
1 parent 0186409 commit 4d7c71e

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/docs-and-deploy.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v2
24-
25-
- name: 设置Python
26-
uses: actions/setup-python@v2
27-
with:
28-
python-version: '3.x'
29-
30-
- name: 安装依赖
31-
run: |
32-
python -m pip install --upgrade pip
33-
pip install -r docs/requirements.txt
34-
pip install -r requirements.txt
24+
25+
- name: 安装uv
26+
uv pip install --system -r docs/requirements.txt
27+
uv pip install --system -e .
3528

3629

3730
- name: 构建文档

0 commit comments

Comments
 (0)