feat: make cache key consistent (and configurable) (#38)

This commit is contained in:
Damien Retzinger
2022-08-13 14:39:00 -04:00
committed by GitHub
parent 841670a97f
commit cbbba628dd
4 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ runs:
- name: "Cache Composer Packages"
uses: actions/cache@v3
with:
key: 'composer | v3 | "$(Agent.OS)" | composer.lock | ${{ inputs.php_version }}'
key: "composer | v3 | ${{ hashFiles('composer.lock') }} | ${{ runner.os }} | ${{ inputs.php_version }}"
path: ${{ steps.composer-cache.outputs.dir }}
- run: composer install