Closed kijin closed 1 month ago
Is there any solution that can be applied to the workflow file?
Will be fixed soon. Can you substitute https://github.com/shivammathur/setup-php? If not, please let us know why.🙇♂️
Thanks.
The apt-fast problem can be fixed by symlinking it to apt-get. Here's an example from the repo you linked: https://github.com/shivammathur/setup-php/blob/9f51892bda551c29f469a2b3d8514b6d2ed84dc9/src/scripts/linux.sh#L10-L14
Not sure about the missing packages.
This is not an urgent issue at all, I just happen to prefer this github action to the other one because it's more simple and straightforward. It does exactly what I need it to and no more. :)
Are you suggesting that I should consider this github action to be on the way to being abandoned, and switch to shivammathur/setup-php?
Thank you.
@kijin Although I have not been able to find much time recently, I will continue to maintain this package. Thanks for liking it!
@kijin Thank you all for your contributions!, Fixed version has been pre-released. https://github.com/nanasess/setup-php/releases/tag/v4.1.0
Works like a charm, thanks!
Trying out Ubuntu 24.04 on github actions, ran into a few problems so I'm reporting them here.
Both of the following problems seem to be related to
lib/apt-install-php-ubuntu.sh
The apt-fast command is gone in Ubuntu 24.04
Replacing with apt-get seems to fix this problem. Symlinking
/usr/bin/apt-get
to/usr/bin/apt-fast
also works.Some PHP modules are missing
PHP 8.2 and 8.3 install and work perfectly.
PHP 8.1 and below seem to be packaged differently in Ubuntu 24.04.
Thanks for your great work!