Skip to content

Commit

Permalink
Bump actions/cache from 3 to 4 (#6)
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 12, 2024
1 parent 1f51c96 commit fe40aa6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
run: echo "prefix=$(( $(date +%s) / 60 / 60 / 24 / 120 ))" >> $GITHUB_OUTPUT

- name: Restore cache using package-lock.json hash
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ !inputs.no-lockfile }}
with:
path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}
Expand All @@ -94,7 +94,7 @@ jobs:
${{ runner.os }}-node-${{ steps.npm-timed-expiration.outputs.prefix }}-
- name: Restore cache using package.json hash
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ inputs.no-lockfile }}
with:
path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
run: echo "prefix=$(( $(date +%s) / 60 / 60 / 24 / 120 ))" >> $GITHUB_OUTPUT

- name: Restore cache using package-lock.json hash
uses: actions/cache@v3
uses: actions/cache@v4
if: (inputs.npm-pre-sync-script || inputs.npm-post-sync-script) && !inputs.no-lockfile
with:
path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}
Expand All @@ -135,7 +135,7 @@ jobs:
${{ runner.os }}-node-${{ steps.npm-timed-expiration.outputs.prefix }}-
- name: Restore cache using package.json hash
uses: actions/cache@v3
uses: actions/cache@v4
if: (inputs.npm-pre-sync-script || inputs.npm-post-sync-script) && inputs.no-lockfile
with:
path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
run: echo "prefix=$(( $(date +%s) / 60 / 60 / 24 / 120 ))" >> $GITHUB_OUTPUT

- name: Restore cache using package-lock.json hash
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ !inputs.no-lockfile }}
with:
path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}
Expand All @@ -104,7 +104,7 @@ jobs:
${{ runner.os }}-node-${{ steps.npm-timed-expiration.outputs.prefix }}-
- name: Restore cache using package.json hash
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ inputs.no-lockfile }}
with:
path: ${{ steps.npm-cache-dir-windows.outputs.dir || steps.npm-cache-dir.outputs.dir }}
Expand Down

0 comments on commit fe40aa6

Please sign in to comment.