File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,26 @@ jobs:
29
29
- name : " Install Sphinx dependencies"
30
30
run : sudo apt-get install python-dev build-essential
31
31
32
+ - name : " Cache pip"
33
+ uses : actions/cache@v1
34
+ with :
35
+ path : ~/.cache/pip
36
+ key : ${{ runner.os }}-pip-${{ hashFiles('_build/.requirements.txt') }}
37
+ restore-keys : |
38
+ ${{ runner.os }}-pip-
39
+
32
40
- name : " Install Sphinx"
33
41
run : pip install --user sphinx
34
42
35
43
- name : " Install custom requirements via pip"
36
44
run : pip install -r _build/.requirements.txt
37
45
46
+ - name : " Cache sphinx doctrees"
47
+ uses : actions/cache@v1
48
+ with :
49
+ path : ./_build/doctrees
50
+ key : ${{ runner.os }}-sphinx-doctrees
51
+
38
52
- name : " Build documentation"
39
53
run : make -C _build SPHINXOPTS=-nW html
40
54
You can’t perform that action at this time.
0 commit comments