shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.85k stars 334 forks source link

php-version: 'latest' and 'dev' #826

Closed fulldecent closed 4 months ago

fulldecent commented 4 months ago

Describe the feature

Add named version tags

Version

Underlying issue

Can we please add named versions which resolve to the latest active development version and the latest nightlies version?

This will allow us to create build scripts that are robust and work on the latest versions when they come out without having to be informed of these happenings and remembering what steps need to go when they happen.

shivammathur commented 4 months ago

Currently php-version: latest resolves to 8.3 and php-version: nightly resolves to 8.4. These should cover the requirements you mentioned.

https://github.com/shivammathur/setup-php?tab=readme-ov-file#php-version-optional

fulldecent commented 4 months ago

Awesome, thank you!