Skip to content

Commit

Permalink
cache number
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Jul 18, 2024
1 parent 659899c commit e2bd705
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ jobs:

- name: Restore Cache Jupyter Environments
uses: actions/cache@v4
env:
CACHE_NUMBER: 0
with:
path: |
~/.local/share/jupyter/kernels
/usr/share/miniconda/envs
key: ${{ runner.os }}-jupyter-${{ hashFiles('chapters/*.yml') }}
restore-keys: ${{ runner.os }}-jupyter-
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('chapters/*.yml') }}

- name: Render and Publish
id: setup-python
Expand Down

0 comments on commit e2bd705

Please sign in to comment.