Use composer.json instead of composer.lock

In a cache
This commit is contained in:
rugk 2021-10-02 00:32:57 +02:00 committed by GitHub
parent a8f7840d25
commit 507a10adc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ${{ steps.composer-cache.outputs.dir }} path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-composer-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-${{ steps.get-date.outputs.date }}- restore-keys: ${{ runner.os }}-composer-${{ steps.get-date.outputs.date }}-
# composer # composer