This is related to a change between TYPO3 12.4.5 and 12.4.6.
Run .Build/vendor/bin/typo3 setup --no-interaction --create-site="https://example.com/" --username="${DATABASE_USER}" --host="${DATABASE_HOST}" --port="32768" --dbname="${DATABASE_NAME}" --admin-email="admin@example.com" --driver="sqlite" --password="" --admin-username="admin" --admin-user-*** --project-name="";
Uncaught TYPO3 Exception TYPO3\CMS\Install\Command\SetupCommand::TYPO3\CMS\Install\Command\{closure}(): Argument #1 ($serverType) must be of type string, bool given, called in /home/runner/work/ext-phpunit/ext-phpunit/.Build/vendor/typo3/cms-install/Classes/Command/SetupCommand.php on line 516
thrown in file /home/runner/work/ext-phpunit/ext-phpunit/.Build/vendor/typo3/cms-install/Classes/Command/SetupCommand.php
in line 499
This is related to a change between TYPO3 12.4.5 and 12.4.6.