Skip to content

Commit

Permalink
nb cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Sep 15, 2024
1 parent 559a528 commit eb7f566
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ jobs:
uses: actions/cache@v4
id: cache-nb
with:
path: ${{ env.NBCACHE }}
key: ${{ steps.hash.outputs.ver }}-${{ steps.hash.outputs.value }}-${{ hashFiles('docs/**/*.ipynb', 'docs/**/*.jl') }}
path: |
${{ env.NBCACHE }}/**/*.ipynb
${{ env.NBCACHE }}/**/*.sha
key: notebook-${{ steps.hash.outputs.value }}-${{ hashFiles('docs/**/*.ipynb', 'docs/**/*.jl') }}
restore-keys: |
${{ steps.hash.outputs.ver }}-${{ steps.hash.outputs.value }}-
notebook-${{ steps.hash.outputs.value }}-
- name: Setup Julia
uses: julia-actions/setup-julia@v2
with:
Expand Down

0 comments on commit eb7f566

Please sign in to comment.