Skip to content

Commit

Permalink
CI: prefer use of actions/cache/restore
Browse files Browse the repository at this point in the history
It works similar to `actions/cache` except that it doesn't have a
post step to save the cache, which isn't needed here.
  • Loading branch information
kleisauke committed Oct 13, 2023
1 parent 1c03bc3 commit c76f131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
node-version: ${{ matrix.nodejs_version }}
registry-url: 'https://registry.npmjs.org'
- uses: actions/cache@v3
- uses: actions/cache/restore@v3
with:
path: lib
key: ${{ needs.build.outputs.cache-key }}
Expand Down

0 comments on commit c76f131

Please sign in to comment.