Skip to content

Commit d0d845e

Browse files
committed
.github/workflows/python.yml: Cache intersphinx inventories.
1 parent 1f6e139 commit d0d845e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/python.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ jobs:
135135
run: python3 -m pip install .[docs]
136136
working-directory: python
137137

138+
- name: Cache intersphinx inventories
139+
uses: actions/cache@v4
140+
working-directory: python
141+
with:
142+
path: doc/_build/doctrees/
143+
key: intersphinx-${{ hashFiles('doc/source/conf.py') }}
144+
restore-keys: intersphinx-
145+
138146
- name: Build the docs 🔧
139147
run: |
140148
make -C doc html

0 commit comments

Comments
 (0)