Skip to content

Possible to install a specific version? Or how to now, which version I'll get? #453

Locked Answered by shivammathur
mfn asked this question in Q&A / Help
Discussion options

You must be logged in to vote

For PHP 7.4 and 8.0, you will get the versions which are pre-installed on the images i.e. 7.4.16 and 8.0.3. Once the runner images are updated you will get the latest patch versions 7.4.18 and 8.0.5.

If you specify the environment variable update: true then setup-php will update the php on the images to 7.4.18 and 8.0.5 respectively. This update process now uses cached builds of ppa:ondrej/php, so should only take a second or two more.

Test without update: true : https://github.com/shivammathur/test-setup-php/actions/runs/806975891/workflow
Test with update: true : https://github.com/shivammathur/test-setup-php/actions/runs/806979414/workflow

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@shivammathur
Comment options

@danon
Comment options

@mfn
Comment options

@danon
Comment options

@shivammathur
Comment options

Answer selected by mfn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants