Describe the bug
I am unable to install a specific version of the symfony-cli tool. Trying both symfony:5.9.1 and symfony:v5.9.1 result in the action installing the latest version available
Version
Runners
Operating systems
ubuntu-latest
PHP versions
8.1
To Reproduce
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: iconv, intl
tools: symfony:5.9.1
Expected behavior
setup-php action installing symfony-cli in v5.9.1
Screenshots/Logs

Additional context
I've tried multiple syntax/tool name, all resulting in the actions installing the latest version
name: Test setup php
on:
workflow_dispatch: {}
jobs:
setup:
runs-on: ubuntu-latest
strategy:
matrix:
tool: [symfony, symfony-cli]
version: ["v5.9.1", "5.9.1"]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: iconv, intl
tools: ${{ matrix.tool }}:${{ matrix.version }}
Are you willing to submit a PR?
Describe the bug
I am unable to install a specific version of the
symfony-clitool. Trying bothsymfony:5.9.1andsymfony:v5.9.1result in the action installing the latest version availableVersion
v1orv2.v2v1Runners
Operating systems
ubuntu-latestPHP versions
8.1To Reproduce
Expected behavior
setup-phpaction installingsymfony-cliin v5.9.1Screenshots/Logs
Additional context
I've tried multiple syntax/tool name, all resulting in the actions installing the latest version
Are you willing to submit a PR?