Skip to content

Commit

Permalink
#5 fix setuptools bug with --no-build-isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
SmilingWayne committed Jul 29, 2024
1 parent 68c003d commit 6cc6aaa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,14 @@ jobs: # 工作流的具体内容
with:
python-version: "3.10"
# 待完成:放在requirement.txt 文件夹里!
- run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-authors-plugin jieba mkdocs-statistics-plugin mkdocs-mermaid2-plugin mkdocs-blogging-plugin --no-build-isolation # 使用pip包管理工具安装mkdocs-materials
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools==71.1.0
pip install --no-build-isolation mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-authors-plugin jieba mkdocs-statistics-plugin mkdocs-mermaid2-plugin mkdocs-blogging-plugin
# run: |
# python -m pip install --upgrade pip
# pip install setuptools==71.1.0
# pip install --no-build-isolation
# - run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-authors-plugin jieba mkdocs-statistics-plugin mkdocs-mermaid2-plugin mkdocs-blogging-plugin --no-build-isolation # 使用pip包管理工具安装mkdocs-materials
- run: mkdocs gh-deploy --force # 使用mkdocs-material部署gh-pages分支

0 comments on commit 6cc6aaa

Please sign in to comment.