shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.85k stars 334 forks source link

php-version parameter is not respected on 8.3.x #820

Closed Cadienvan closed 5 months ago

Cadienvan commented 5 months ago

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

Runners

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?

shivammathur commented 5 months ago

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