Skip to content

Commit 829d386

Browse files
committed
Declara un caché para guardar doctree generado por Sphinx
Ésto debería resultar en construcciones más rápidas en PRs, e incluso en la rama principal, cuando sólo se cambia un número mínimo de archivos .po. Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent 2d119aa commit 829d386

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ jobs:
8888
if: steps.po-files-to-check.outputs.any_po_files_to_check == 'true'
8989
run: python scripts/check_spell.py ${{ steps.po-files-to-check.outputs.po_files_to_check }}
9090

91+
# Usa un caché para restaurar el doctree generado por builds anteriores
92+
- name: Prepara caché para documentación
93+
use: actions/cache@v4
94+
with:
95+
key: sphinx-generated-doctree
96+
path: cpython/Doc/_build/doctree
97+
9198
# Construcción de la documentación
9299
- name: Construir documentación
93100
run: |

0 commit comments

Comments
 (0)