-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.2 not working #104
Comments
Thanks for the info. Looking into it for you. |
+1 |
Bumping this as PHP 8.1 active support ended a couple of weeks ago and this now blocks updates to 8.2 in consumer projects |
So I had a close look into this action. Everything is working correctly. The version specified in the argument is correctly installed into a short-lived Docker container. The reason why we receive the error is conceptual: we are using this package incorrectly. :) This action runs in the runner container and starts it's own container where it runs composer commands. Then, that container is removed. The version of php in your runner container (the one you specify in This action is intended to be used in conjunction with other actions that all perform their activities in the separate docker containers that are started and stopped after each action execution. If you want to install php version on the runner itself, you would use Before:
after
Similar question was asked an answered in #111 @g105b |
Thank you for your detailed write up @AlexSkrypnyk - I agree with you. I will write some documentation that addresses this, because I think most new issues submitted here are to do with running something on the native PHP. I wonder if there's a better way to do this altogether, like link the |
Hey trying to use GitHub actions with a composer dependency to php 8.2, I get the following in the action:
This is the action
The text was updated successfully, but these errors were encountered: