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