Skip to content

Commit

Permalink
Include hash of composer.json in github-action cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasnatter committed Jan 8, 2021
1 parent 6fc62b3 commit 43e302c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
id: composer-cache
with:
path: ${{ steps.composer-cache-dir.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
key: ${{ runner.os }}-composer-${{ hashFiles('composer.json', 'composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
Expand Down

0 comments on commit 43e302c

Please sign in to comment.