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

Choose only major ver, like 7.x #395

Closed
justanotheranonymoususer opened this issue Jan 15, 2021 · 1 comment
Closed

Choose only major ver, like 7.x #395

justanotheranonymoususer opened this issue Jan 15, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@justanotheranonymoususer

As far as I can see, only explicit php version can be chosen, like 7.4.
There's also latest, but it can be of any major version.
It would be nice to be able to say 7.x.

For example, actions/setup-python allows to do this:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
https://github.com/actions/setup-python#usage

@shivammathur
Copy link
Owner

Added in fbc8407
5.x, 7.x and 8.x will now setup PHP 5.6, 7.4 and 8.0 respectively.

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
No open projects
setup-php-tasks
  
Awaiting triage
Development

No branches or pull requests

2 participants