Skip to content
New issue

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

Unable to install specific version of symfony-cli #860

Open
2 of 5 tasks
marmorag opened this issue Jul 19, 2024 · 0 comments
Open
2 of 5 tasks

Unable to install specific version of symfony-cli #860

marmorag opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@marmorag
Copy link

marmorag commented Jul 19, 2024

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

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

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

image

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?

@marmorag marmorag added the bug Something isn't working label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants