Skip to content

Commit

Permalink
fix wrong key
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Dec 17, 2024
1 parent 5a40761 commit af83655
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/actions/cache-deps/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: "Cache Dependencies"
description: "Caches node_modules and other directories"
inputs:
cache-key:
description: "Cache key"
required: true
default: web-core-modules-${{ hashFiles('**/package.json', '**/yarn.lock') }}
runs:
using: "composite"
steps:
Expand All @@ -13,8 +8,8 @@ runs:
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ inputs.cache-key }}
${{ github.workspace }}/.yarn/install-state.gz
key: ${{ runner.os }}-web-core-modules-${{ hashFiles('**/package.json', '**/yarn.lock') }}

- name: Nextjs/Cypress cache
uses: actions/cache@v4
Expand Down

0 comments on commit af83655

Please sign in to comment.