Skip to content

Commit

Permalink
Change cache behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschwarzenberger committed Mar 24, 2024
1 parent fd751da commit e6eabe7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Create Cache ID
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV

- name: Set up cache
uses: actions/cache@v4
- name: Set up build cache
uses: actions/cache/restore@v4
with:
key: mkdocs-material-${{ env.cache_id }}
key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache
restore-keys: |
mkdocs-material-
Expand Down

0 comments on commit e6eabe7

Please sign in to comment.