We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When specifying composer:'2.4' it will still install 2.5.7 and not complain (the quotes make the version invalid I think)
composer:'2.4'
2.5.7
Version
v1
v2
Runners
Operating systems
PHP versions
8.1
To Reproduce
- name: Setup PHP with composer v2 uses: shivammathur/setup-php@v2 with: php-version: '8.1' tools: composer:'2.4'
Expected behavior
Report invalid version (or install 2.4)
Screenshots/Logs
Run shivammathur/setup-php@v2 with: php-version: 8.1 tools: composer:'2.4' ini-file: production /usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh ==> Setup PHP ✓ PHP Updated to PHP 8.1.18 ==> Setup Tools ✓ composer Added composer 2.5.7 ==> #StandWithUkraine ✓ read-more https://setup-php.com/support-ukraine
Additional context
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered:
Hehehehehe 😆
composer:2.4 works composer:'2.4' does not and I am kicking myself I didn't spot it earlier
composer:2.4
But this does raise the issue that it seems the version number is not validation.
Sorry, something went wrong.
Fixed in 0be6fa1. Will be in the next release
Released 2.25.3 with the fix. https://github.com/shivammathur/setup-php/releases/tag/2.25.3
shivammathur
No branches or pull requests
Describe the bug
When specifying
composer:'2.4'
it will still install2.5.7
and not complain (the quotes make the version invalid I think)Version
v1
orv2
.v2
v1
Runners
Operating systems
PHP versions
8.1
To Reproduce
Expected behavior
Report invalid version (or install 2.4)
Screenshots/Logs
Additional context
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: