Merge pull request #6669 from squidfunk/dependabot/github_actions/actions/cache-4

Bump actions/cache from 3 to 4
This commit is contained in:
Martin Donath 2024-01-23 09:54:53 +07:00 committed by GitHub
commit a8512665c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Set up Node.js dependency cache - name: Set up Node.js dependency cache
uses: actions/cache@v3 uses: actions/cache@v4
id: cache id: cache
with: with:
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
@ -77,7 +77,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- name: Set up Node.js dependency cache - name: Set up Node.js dependency cache
uses: actions/cache@v3 uses: actions/cache@v4
id: cache id: cache
with: with:
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

View File

@ -58,7 +58,7 @@ jobs:
requirements.txt requirements.txt
- name: Set up build cache - name: Set up build cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
key: mkdocs-material-${{ hashfiles('.cache/**') }} key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache path: .cache
@ -112,7 +112,7 @@ jobs:
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4
- name: Save build cache - name: Save build cache
uses: actions/cache/save@v3 uses: actions/cache/save@v4
with: with:
key: mkdocs-material-${{ hashfiles('.cache/**') }} key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache path: .cache