mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-16 09:44:08 +07:00
Fix extension setup
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1119,7 +1119,7 @@ exports.fetch = fetch;
|
||||
* @param version
|
||||
*/
|
||||
async function parseVersion(version) {
|
||||
const manifest = 'https://dl.bintray.com/shivammathur/php/php-versions.json';
|
||||
const manifest = 'https://raw.githubusercontent.com/shivammathur/setup-php/develop/src/configs/php-versions.json';
|
||||
switch (true) {
|
||||
case /latest|\d.x/.test(version):
|
||||
return JSON.parse(await fetch(manifest))[version];
|
||||
|
Reference in New Issue
Block a user