mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-30 23:07:56 +07:00 
			
		
		
		
	Fix restore-keys in cache example in README with dependency range
This commit is contained in:
		| @ -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 }}- | ||||
| ``` | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur