Skip to content

Commit aff803f

Browse files
committed
retry fetching frankenphp release info
1 parent 38ec03f commit aff803f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SPC/builder/unix/UnixBuilderBase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ protected function buildFrankenphp(): void
271271
$releaseInfo = json_decode(Downloader::curlExec(
272272
'https://api.github.com/repos/php/frankenphp/releases/latest',
273273
hooks: [[CurlHook::class, 'setupGithubToken']],
274+
retries: 3,
274275
), true);
275276
$frankenPhpVersion = $releaseInfo['tag_name'];
276277
$libphpVersion = $this->getPHPVersion();

0 commit comments

Comments
 (0)