Skip to content

Commit

Permalink
fix(17-custom-actions): correctly calculate cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
lauromueller committed Nov 20, 2023
1 parent a67c72c commit 35c9180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/composite-cache-deps/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
uses: actions/cache@v3
with:
path: ${{ inputs.working-dir }}/node_modules
key: node-modules-${{ hashFiles('${{ inputs.working-dir }}/package-lock.json') }}
key: node-modules-${{ hashFiles(format('{0}/{1}', inputs.working-dir, 'package-lock.json')) }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
Expand Down

0 comments on commit 35c9180

Please sign in to comment.