Skip to content

Commit 97bf6d6

Browse files
committed
Fix docs build
1 parent 2465cb3 commit 97bf6d6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/adapter_docs_build.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Build Adapter Docs
33
on:
44
push:
55
branches: [ master ]
6-
paths: [ 'adapter_docs/**' ]
6+
paths:
7+
- '.github/workflows/**'
8+
- 'adapter_docs/**'
79
workflow_dispatch:
810

911
jobs:
@@ -16,12 +18,14 @@ jobs:
1618
fetch-depth: 0
1719
- uses: actions/setup-python@v2
1820
with:
19-
python-version: 3.6
21+
python-version: 3.8
2022
- name: Install
2123
run: |
22-
pip install setuptools==57.4.0
23-
pip install -e .[torch,docs]
24+
pip install setuptools
25+
pip install torch
26+
pip install Jinja2<3.1
2427
pip install recommonmark==0.7.1
28+
pip install -e .[docs]
2529
- name: Build
2630
run: |
2731
cd adapter_docs && make html-multi-version && cd ..

0 commit comments

Comments
 (0)