File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,22 @@ jobs:
34
34
uses : actions/configure-pages@v3
35
35
- name : Cache Notebook Execution
36
36
uses : actions/cache@v3
37
+ id : cache-execution
37
38
with :
38
39
path : ./lectures/_build/execute
39
40
key : ${{ runner.os }}-execute-cache-${{ hashFiles('lectures/**/*.md') }}
40
41
- uses : actions/setup-node@v4
41
42
with :
42
43
node-version : 18.x
43
44
- name : Install Python
45
+ if : steps.cache-execution.outputs.cache-hit != 'true'
44
46
uses : actions/setup-python@v5
45
47
with :
46
48
python-version : ' 3.12'
47
49
cache : ' pip'
48
50
cache-dependency-path : ' .github/requirements/requirements-execute.txt'
49
51
- name : Install execution requirements for ipykernel and jupyter-server
52
+ if : steps.cache-execution.outputs.cache-hit != 'true'
50
53
run : python -m pip install -r .github/requirements/requirements-execute.txt
51
54
shell : bash
52
55
- name : Install MyST Markdown
You can’t perform that action at this time.
0 commit comments