Skip to content

Commit 6578c9d

Browse files
committed
Cache the docs output
1 parent 2c37e98 commit 6578c9d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
run: sudo apt install sphinx-doc python3-sphinx
4242
- name: Install gettext
4343
run: sudo apt-get install -y gettext
44+
- name: Cache output for "${{ matrix.languageCode }}"
45+
uses: actions/cache@v5
46+
with:
47+
path: output/${{ matrix.languageCode }}
48+
key: docs-output-${{ matrix.languageCode }}
4449
- name: Build the documentation (${{ matrix.languageCode }})
4550
run: make html-${{ matrix.languageCode }} SPHINXOPTS='-n -W -a'
4651
- name: Build the documentation and show all errors

0 commit comments

Comments
 (0)