File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ jobs:
128128 uses : ts-graphviz/setup-graphviz@b1de5da23ed0a6d14e0aeee8ed52fdd87af2363c # v2.0.2
129129 with :
130130 macos-skip-brew-update : " true"
131- - uses : actions/cache@v5
131+ - uses : actions/cache/restore@v5
132+ id : theme-build-cache
132133 with :
133134 path : ${{ github.workspace }}/theme_build_cache
134135 key : theme-build-cache-${{ runner.os }}-${{ github.run_id }}
@@ -141,6 +142,12 @@ jobs:
141142 with :
142143 name : doc-builds-${{ runner.os }}
143144 path : docs/_build/
145+ - name : Save theme build cache
146+ if : always() && steps.theme-build-cache.outputs.cache-hit != 'true'
147+ uses : actions/cache/save@v5
148+ with :
149+ path : ${{ github.workspace }}/theme_build_cache
150+ key : theme-build-cache-${{ runner.os }}-${{ github.run_id }}
144151 - name : upload docs to github pages
145152 if : github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && runner.os == 'Linux'
146153 uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # pinned to v4.0.0
You can’t perform that action at this time.
0 commit comments