mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
retry fetching frankenphp release info
This commit is contained in:
parent
38ec03fe30
commit
aff803f334
@ -271,6 +271,7 @@ abstract class UnixBuilderBase extends BuilderBase
|
||||
$releaseInfo = json_decode(Downloader::curlExec(
|
||||
'https://api.github.com/repos/php/frankenphp/releases/latest',
|
||||
hooks: [[CurlHook::class, 'setupGithubToken']],
|
||||
retries: 3,
|
||||
), true);
|
||||
$frankenPhpVersion = $releaseInfo['tag_name'];
|
||||
$libphpVersion = $this->getPHPVersion();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user