Skip to content

Commit 5b04102

Browse files
authored
ENH: enable cached build folders using artifacts (#101)
* enable cached build folders using artifacts * add build cache fetch in publish * update to use a different download action * remove edit to publish as merged already * add path _build * view _build folder location * clean up
1 parent 7184ca0 commit 5b04102

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
- name: Display Pip Versions
2222
shell: bash -l {0}
2323
run: pip list
24+
- name: Download "build" folder (cache)
25+
uses: dawidd6/action-download-artifact@v2
26+
with:
27+
workflow: publish.yml
28+
branch: main
29+
name: build-cache
30+
path: _build
2431
- name: Build HTML
2532
shell: bash -l {0}
2633
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lectures/_build

0 commit comments

Comments
 (0)