Add HostedPackageBin downloader and enhance artifact handling

This commit is contained in:
crazywhalecc
2025-12-05 14:39:05 +08:00
committed by Jerry Ma
parent 52553fb5ed
commit 7fa6fd08d4
6 changed files with 111 additions and 14 deletions

View File

@@ -137,8 +137,14 @@ class ConfigValidator
];
continue;
}
// TODO: expand hosted to static-php hosted download urls
if ($v === 'hosted') {
$data[$name][$k] = [
'linux-x86_64' => ['type' => 'hosted'],
'linux-aarch64' => ['type' => 'hosted'],
'windows-x86_64' => ['type' => 'hosted'],
'macos-x86_64' => ['type' => 'hosted'],
'macos-aarch64' => ['type' => 'hosted'],
];
continue;
}
if (is_assoc_array($v)) {