mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-08 22:04:10 +07:00
Update Phive configuration
Phive has released version `0.15.0` which ups the minimum supported PHP version to PHP 7.3. This adds the switch statement for Phive to take this into account. Ref: https://github.com/phar-io/phive/releases
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -685,6 +685,9 @@ async function addPhive(data) {
|
||||
case /7\.1/.test(data['php_version']):
|
||||
data['version'] = data['version'].replace('latest', '0.13.5');
|
||||
break;
|
||||
case /7\.2/.test(data['php_version']):
|
||||
data['version'] = data['version'].replace('latest', '0.14.5');
|
||||
break;
|
||||
}
|
||||
if (data['version'] === 'latest') {
|
||||
data['domain'] = data['domain'] + '/releases';
|
||||
|
Reference in New Issue
Block a user