-
-
Notifications
You must be signed in to change notification settings - Fork 9
Allow PHP Versions to Update #17
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
Conversation
@g105b I believe I was able to prove it works here: https://github.com/westy92/holiday-event-api-php/actions/runs/8841138041 |
Should we bump |
Looks good to me, thanks so much for this PR. The only thing I can't think of how to test is what happens to the runner when it runs again and there's a new release of PHP. I don't think there's a straightforward way of testing this without waiting for a new release and crossing our fingers that the functionality works as expected. Do you have any other projects that haven't been built in a while that this can be tested with, just for clarity?
Yes please. This is the only mechanism I am aware of that can be used to cache the actual php_build process, so when a new workflow starts it doesn't have to build PHP each time. As long as this string changes, it will invalidate the cache. |
Thank you for the review! I bumped the version. Unfortunately the only project I have using this I already tested with. |
I think your fix is identifying an issue that is worse to keep in the repo than it would be if it caused a potential minor failure in the future, so I think it makes sense to merge directly. I have a lot of repositories that use this action every day, so I'll notice any issues straight away. Do you agree? If so I'll merge tonight. |
Yes I agree! |
I updated the version to Thank you for reviewing this! Make sure to tag |
Cheers! I'll make the release now. |
Fixes #16.
@g105b is there an easy way to test this?