-
-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When a version is specified on a tool to add during the install, the install script doesn't seem to take the version into account.
Version
- v2
- v1
Runners
GitHub Hosted
Operating systems
Ubuntu24.04
PHP versions
PHP 8.4
To Reproduce
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.4'
coverage: 'none'
extensions: 'json, mbstring, tokenizer'
tools: 'composer-normalize:2.28.3, php-cs-fixer:3.66.2'
Expected behavior
The tools below should have been installed with the specified version :
composer-normalizein2.28.3php-cs-fixerin3.66.2
Screenshots/Logs
Run shivammathur/setup-php@v2
with:
php-version: 8.4
coverage: none
extensions: json, mbstring, tokenizer
tools: composer-normalize:2.28.3, php-cs-fixer:3.66.2
ini-file: production
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh
==> Setup PHP
✓ PHP Installed PHP 8.4
==> Setup Extensions
✓ json Enabled
✓ mbstring Enabled
✓ tokenizer Enabled
==> Setup Tools
✓ composer Added composer 2.8.4
✓ composer-normalize Added composer-normalize 2.3.9
✓ php-cs-fixer Added php-cs-fixer
==> Setup Coverage
✓ none Disabled Xdebug and PCOV
==> Sponsor setup-php
✓ setup-php https://setup-php.com/sponsor
Additional context
No response
Are you willing to submit a PR?
No
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working