Fix restore-keys in cache example in README with dependency range

This commit is contained in:
Shivam Mathur 2022-01-22 23:41:53 +05:30
parent c38f1acc38
commit 57db6baebb
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -718,7 +718,7 @@ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
- If you support a range of `composer` dependencies and use `prefer-lowest` and `prefer-stable` options, you can store them in your matrix and add them to the keys.
```yaml
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}-${{ matrix.prefer }}-
key: ${{ runner.os }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-${{ matrix.prefer }}-
```