Skip to content
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

Support php-version: preinstalled #872

Open
1 task done
SystemKeeper opened this issue Oct 12, 2024 · 0 comments
Open
1 task done

Support php-version: preinstalled #872

SystemKeeper opened this issue Oct 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SystemKeeper
Copy link

Describe the feature
Most runners (be it GitHub-Hosted or Self-Hosted) have php versions pre-installed. For some workflows the performance is more important than the exact php version. So when targeting ubuntu-24.04 it makes sense to use PHP 8.3, while on ubuntu-22.04 it makes sense to use PHP 8.1. Therefore I was thinking if adding something like php-version: preinstalled or php-version: highest-preinstalled would make sense and setup-php would automatically choose the (highest) version that's already inside the image?

Version

  • I have checked releases, and the feature is missing in the latest patch version of v2.

Underlying issue
Reduce bandwidth consumption and time to setup.

Describe alternatives
Manually adjust the workflows.

Additional context

Are you willing to submit a PR?
Generally yes, although no idea where to start.

@SystemKeeper SystemKeeper added the enhancement New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants