Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Bump actions/cache from 3 to 4 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Mar 16, 2024
1 parent 9de1c08 commit 87aa752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
shell: bash
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3 # https://github.com/actions/cache/blob/main/examples.md#node---npm
- uses: actions/cache@v4 # https://github.com/actions/cache/blob/main/examples.md#node---npm
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand All @@ -45,7 +45,7 @@ runs:
shell: bash
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
Expand Down

0 comments on commit 87aa752

Please sign in to comment.