Use a better key for save.
This commit is contained in:
parent
cc53eb2aba
commit
ce4e0f729f
1 changed files with 2 additions and 2 deletions
|
@ -65,11 +65,11 @@ runs:
|
|||
shell: bash
|
||||
run: composer install --ignore-platform-reqs --prefer-dist
|
||||
- id: composer-cache-save
|
||||
if: ${{ steps.read-php-version.outputs.has_composer }}
|
||||
if: ${{ always() && steps.read-php-version.outputs.has_composer }}
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ steps.composer-cache-find.outputs.dir }}
|
||||
key: ${{ steps.composer-cache-find.outputs.key }}
|
||||
key: ${{ steps.composer-cache-restore.outputs.cache-primary-key }}
|
||||
- id: emit-php-detected
|
||||
name: "Emit PHP Detected"
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue