diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e6125b782..d844ab0dd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -70,7 +70,7 @@ jobs: composer config repositories.jetstream '{"type": "path", "url": "jetstream"}' --file composer.json - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: 'jetstream' diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index ba47c7f5c..969c2b242 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -802,6 +802,10 @@ protected function removeDarkClasses(Finder $finder) */ protected function phpBinary() { + if (function_exists('Illuminate\Support\php_binary')) { + return \Illuminate\Support\php_binary(); + } + return (new PhpExecutableFinder())->find(false) ?: 'php'; }