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

Since `2.28.0` stopped to install extensions on `ubuntu-latest` OS

Jeckerson opened this issue · comments

Describe the bug
Since 2.28.0 version, jobs stopped to install extensions on ubuntu-latest OS. Works when specify version of Ubuntu.

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

PHP versions
Any

To Reproduce

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.1'
          extensions: phalcon, swoole
          tools: pecl

@Jeckerson

Installing php8.1-phalcon5 package from ppa:ondrej/php switches the PHP version to 8.3. I will add a fix for this in the next release.