From 57db6baebbe30a3126c7a03aa0e3267fa7872d96 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 22 Jan 2022 23:41:53 +0530 Subject: [PATCH] Fix restore-keys in cache example in README with dependency range --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68f625ed..d12177fb 100644 --- a/README.md +++ b/README.md @@ -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 }}- ```