Use a better key for save.

This commit is contained in:
Greyscale 2024-05-19 03:32:48 +02:00
parent cc53eb2aba
commit ce4e0f729f
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2

View file

@ -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