Skip to content

Commit

Permalink
disable literate cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Mar 11, 2024
1 parent 9d31874 commit 34f3980
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ jobs:
env:
PYTHON: ${{ env.pythonLocation }}/python
run: julia --color=yes instantiate.jl
- name: Cache literate notebooks
uses: actions/cache@v4
id: cache-nb
with:
path: |
docs/**/*.ipynb
docs/**/*.sha
key: ${{ hashFiles('**/*.toml', 'scr/*') }}-nb-${{ hashFiles('docs/**/*.jl') }}
restore-keys: |
${{ hashFiles('**/*.toml', 'scr/*') }}-nb-
# - name: Cache literate notebooks
# uses: actions/cache@v4
# id: cache-nb
# with:
# path: |
# docs/**/*.ipynb
# docs/**/*.sha
# key: ${{ hashFiles('**/*.toml', 'src/*') }}-nb-${{ hashFiles('docs/**/*.jl') }}
# restore-keys: |
# ${{ hashFiles('**/*.toml', 'src/*') }}-nb-
- name: Run literate notebooks
if: ${{ steps.cache-nb.outputs.cache-hit != 'true' }}
# if: ${{ steps.cache-nb.outputs.cache-hit != 'true' }}
run: julia --color=yes -p ${{ env.NPROC }} literate.jl
- name: Build website
run: jupyter-book build docs/
Expand Down

0 comments on commit 34f3980

Please sign in to comment.