Skip to content

Commit 2196df0

Browse files
author
liuxinwei
committed
修改: .github/workflows/pages.yml
1 parent 9b0e686 commit 2196df0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/pages.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,23 @@ jobs:
3333
with:
3434
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@main
3737
- name: 🐍 Set up Python
3838
uses: actions/setup-python@v4
3939
with:
40-
python-version: "3.11"
40+
python-version: "3.10"
4141
cache: "pip"
4242
cache-dependency-path: "pyproject.toml"
4343
- name: 🔧 Build HTML
4444
run: |
4545
sudo apt-get install graphviz
4646
pip install .[doc]
47-
pip install sphinxcontrib-websupport
4847
conda install -c conda-forge pandoc
4948
invoke doc
5049
- name: Setup Pages
51-
uses: actions/configure-pages@v1
50+
uses: actions/configure-pages@main
5251
- name: Upload artifact
53-
uses: actions/upload-pages-artifact@v1
52+
uses: actions/upload-pages-artifact@v3
5453
with:
5554
# Upload entire repository
5655
path: 'doc/_build/html/'

0 commit comments

Comments
 (0)