shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

Home Page:https://setup-php.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-version parameter is not respected on 8.3.x

Cadienvan opened this issue · comments

Describe the bug
Whenever I put an 8.3.x version, the action always tries to install 8.3.3 instead of the given one, causing an issue.

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
Amazon Linux

PHP versions
8.3.1

To Reproduce

           - name: setup php
              uses: shivammathur/setup-php@2.29.0
              with:
                  php-version: '8.3.1'
                  extensions: ${{ env.PHP_EXTENSIONS }}
              env:
                  runner: self-hosted

Expected behavior
setup-php should install 8.3.1

Screenshots/Logs
Screenshot 2024-02-16 alle 12 41 06

Additional context

Are you willing to submit a PR?

Patch versions are not supported, also Amazon Linux is not supported.