Closed renovate[bot] closed 4 months ago
Since this pull request has not had any activity within the last 5 days, I have marked it as stale. I will close it if no further activity occurs within the next 5 days.
Because you closed this PR without merging, Renovate will ignore this update (2.31.0
). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps
array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
2.22.0
->2.31.0
Release Notes
shivammathur/setup-php (shivammathur/setup-php)
### [`v2.31.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.31.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.30.5...2.31.0) #### Changelog - Added support for a fallback mirror for `ondrej/php` PPA when launchpad is down ([#834](https://togithub.com/shivammathur/setup-php/issues/834)). - Fixed installing packages on self-hosted environments with existing conf files ([#852](https://togithub.com/shivammathur/setup-php/issues/852)). - Fixed support for `oci8` and `pdo_oci` extensions on `ubuntu-24.04`. - Fixed support for `couchbase` extension on `ubuntu-24.04`. - Fixed support for `ubuntu-24.04` after `apt-fast` was dropped from the GA images. - Fixed support for `firebird` extension on `macos-14` - Fixed support for `blackfire` extension on `macos-14`. - Fixed support for `relay` extension. - Fixed support for `phalcon` extension for PHP 7.4 on Ubuntu. - Updated Node.js dependencies. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.30.5...2.31.0)Follow for updates
### [`v2.30.5`](https://togithub.com/shivammathur/setup-php/releases/tag/2.30.5) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.30.4...2.30.5) #### Changelog - Added support for Ubuntu 24.04. - Added support for `easy-coding-standard` in tools ([https://github.com/shivammathur/setup-php/pull/838](https://togithub.com/shivammathur/setup-php/pull/838)) - Added support for zephir_parser for PHP 8.3. - Fixed installing zts PHP versions on macOS ([https://github.com/shivammathur/setup-php/issues/847](https://togithub.com/shivammathur/setup-php/issues/847)). - Fixed installing `ev` extension ([https://github.com/shivammathur/setup-php/issues/844](https://togithub.com/shivammathur/setup-php/issues/844)). - Fixed support for `ioncube` extension ([https://github.com/shivammathur/setup-php/issues/840](https://togithub.com/shivammathur/setup-php/issues/840)). - Updated Node.js dependencies. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.30.4...2.30.5)Follow for updates
### [`v2.30.4`](https://togithub.com/shivammathur/setup-php/releases/tag/2.30.4) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.30.3...2.30.4) ##### Changelog - Fixed support for `sqlsrv` and `pro_sqlsrv` on Windows ([https://github.com/shivammathur/setup-php/discussions/835](https://togithub.com/shivammathur/setup-php/discussions/835)). - Fixed a permissions issue for brew on `macos-14` environments. - Marked PHP 5.3 to PHP 5.5 as not supported on ARM64 macOS environments like `macos-14`. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.30.3...2.30.4)Follow for updates
### [`v2.30.3`](https://togithub.com/shivammathur/setup-php/releases/tag/2.30.3) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.30.2...2.30.3) ##### Changelog - Fixed reading extension directory for PHP 8.4 on macOS. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.30.2...2.30.3)Follow for updates
### [`v2.30.2`](https://togithub.com/shivammathur/setup-php/releases/tag/2.30.2) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.30.1...2.30.2) ##### Changelog - Added support for vld extension ([https://github.com/shivammathur/homebrew-extensions/issues/3827](https://togithub.com/shivammathur/homebrew-extensions/issues/3827)). - Added support to update brew along with the core tap on macOS to handle breaking changes in core tap formulae. - Updated Node.js dependencies. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.30.1...2.30.2)Follow for updates
### [`v2.30.1`](https://togithub.com/shivammathur/setup-php/releases/tag/2.30.1) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.30.0...2.30.1) ##### Changelog - Improved updating Homebrew core tap on macOS using a retry logic. - Fixed support for phalcon on Windows. - Fixed support for OCI extensions for PHP 8.4 on Linux and macOS. - Fixed support for `sqlsrv` and `pdo_sqlsrv` on PHP 8.0. - Fixed type error on Windows in `Get-File` function. - Minified the release file `dist/index.js` file generated by `vercel/ncc`. - Updated pre-installed PHP versions for GitHub runners in the README. - Updated Node.js dependencies. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.30.0...2.30.1)Follow for updates
### [`v2.30.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.30.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.29.0...2.30.0) ##### Changelog - Added support to set custom composer timeout ([#811](https://togithub.com/shivammathur/setup-php/issues/811)) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' env: COMPOSER_PROCESS_TIMEOUT: 300 ``` - Fixed syncing dependency formulae on macOS. ([#823](https://togithub.com/shivammathur/setup-php/issues/823), [#825](https://togithub.com/shivammathur/setup-php/issues/825), [#824](https://togithub.com/shivammathur/setup-php/issues/824)) - Updated Node.js dependencies. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.29.0...2.30.0)Follow for updates
### [`v2.29.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.29.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.28.0...2.29.0) ##### Changelog - Added support for 'lowest' and 'highest' aliases to specify PHP versions. [#794](https://togithub.com/shivammathur/setup-php/issues/794) - The `lowest` alias installs the lowest actively supported version in the PHP project. - The 'highest' alias is equivalent to the 'latest' alias, so it installs the latest supported stable PHP version. ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: lowest # or highest ``` - Added support for thread-safe builds on macOS. This completes the support for thread-safe builds on all supported platforms. ```yml - name: Setup ZTS PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' env: phpts: zts ``` - Updated documentation for support to read the PHP version from `composer.lock` and `composer.json` files. - If `php-version` and `php-version-file` inputs are not specified, then it can read the php version from `platform-overrides.php` value in composer.lock or `config.platform.php` value from `composer.json`. [#800](https://togithub.com/shivammathur/setup-php/issues/800) ```yml - name: Checkout uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 ``` - Switched to the new `PHPCSStandards/PHP_CodeSniffer` repository for builds of `phpcs` and `phpcbf` tools. [#809](https://togithub.com/shivammathur/setup-php/issues/809) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' tools: phpcs, phpcbf ``` - Marked `v1` version of the action as completely unsupported, it will receive no updates, please upgrade to `v2`, if not done already. - Fixed installing extensions on Windows for PHP 8.1 by reverting the version bump for minimum stability. [#807](https://togithub.com/shivammathur/setup-php/issues/807) - Fixed building extensions on PHP 8.4 that used backward compatibility headers from `ext/standard` to use `ext/random/php_random.h` header. - Improved support for `phalcon` to install the extension when specified without the version number. [#796](https://togithub.com/shivammathur/setup-php/issues/796) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: phalcon ``` - Updated codeql workflow to use `v3` versions of codeql actions. [#803](https://togithub.com/shivammathur/setup-php/issues/803) - Updated docs workflow to use `actions/download-artifact@v4` and `actions/upload-artifact@v4`. [#804](https://togithub.com/shivammathur/setup-php/issues/804), [#805](https://togithub.com/shivammathur/setup-php/issues/805) - Updated Node.js dependencies. ##### Merged Pull Requests - Merged pull request [#794](https://togithub.com/shivammathur/setup-php/pull/794) from [@davereid](https://togithub.com/davereid) - Merged pull request [#800](https://togithub.com/shivammathur/setup-php/pull/800) from [@davereid](https://togithub.com/davereid) For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.28.0...2.29.0) Thanks [@dr5hn](https://togithub.com/dr5hn), [@tighten](https://togithub.com/tighten), [@ZeekInteractive](https://togithub.com/ZeekInteractive), [@acelaya](https://togithub.com/acelaya), and [@fulopattila122](https://togithub.com/fulopattila122) for the sponsorship ❤️Follow for updates
### [`v2.28.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.28.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.27.1...2.28.0) #### Changelog - Specifying 8.3 in `php-version` now installs a stable build of PHP 8.3. ```yml - name: Setup PHP 8.3 uses: shivammathur/setup-php@v2 with: php-version: '8.3' ``` - Specifying `latest` in `php-version` now installs PHP 8.3 as well. ```yml - name: Setup Latest PHP uses: shivammathur/setup-php@v2 with: php-version: 'latest' ``` - Specifying `nightly` in `php-version` now installs PHP 8.4. ```yml - name: Setup Nightly PHP uses: shivammathur/setup-php@v2 with: php-version: 'nightly' ``` - Added support for `intl` extension with ICU 74.1 ([https://github.com/shivammathur/icu-intl/pull/7](https://togithub.com/shivammathur/icu-intl/pull/7)) ```yml - name: Setup PHP with intl uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: intl-74.1 ``` - Added support to specify `zts` in `phpts` environment variable instead of `ts` to set up thread-safe PHP on Linux and Windows. ```yml - name: Setup PHP 8.3 (ZTS) uses: shivammathur/setup-php@v2 with: php-version: '8.3' env: phpts: zts ``` - Fixed support for debug builds. ([#784](https://togithub.com/shivammathur/setup-php/issues/784)) ```yml - name: Setup PHP 8.3 uses: shivammathur/setup-php@v2 with: php-version: '8.3' env: debug: true ``` - Added support for cached builds for PHP 8.3, PHP 8.4, and zts builds of all versions of PHP 5.6 and newer on Ubuntu GitHub Hosted environments. This should reduce the time it takes to set up these PHP versions. - Added `swoole` to the builds cache for GitHub-hosted environments for PHP 7.2 and newer. ```yml - name: Setup PHP 8.3 uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: swoole ``` - Added PHP 8.3 and PHP 8.4 to the extension lists in the [wiki](https://togithub.com/shivammathur/setup-php/wiki). ([#787](https://togithub.com/shivammathur/setup-php/issues/787)). - PHP 8.0 is now marked as `End of life` and PHP 8.1 is now marked as `Security fixes only` in README. See [PHP Support](https://togithub.com/shivammathur/setup-php?tab=readme-ov-file#tada-php-support) in README. - Fixed support for Blackfire extension. The action now disabled `Xdebug` and `pcov` extensions by default when `blackfire` is specified in `extensions` input. ```yml - name: Setup PHP with blackfire extension uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: blackfire ``` - Fixed support for `grpc_php_plugin` when installed along with `protoc` on macOS. ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' tools: protoc, grpc_php_plugin ``` - Fixed support for `geos` extension on PHP 8.3. ```yml - name: Setup PHP with geos extension uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: geos ``` - Fixed support for `event` extension on macOS to use `openssl@3` formula. ```yml - name: Setup PHP with geos extension uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: event ``` - Update Node.js dependencies. #### Merged Pull Requests - Merged pull request [#787](https://togithub.com/shivammathur/setup-php/pull/787) from [@jrfnl](https://togithub.com/jrfnl) - Merged pull request [#7](https://togithub.com/shivammathur/icu-intl/pull/7) from [@jderusse](https://togithub.com/jderusse) For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.27.1...2.28.0)Follow for updates
### [`v2.27.1`](https://togithub.com/shivammathur/setup-php/releases/tag/2.27.1) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.27.0...2.27.1) ##### Changelog - Fixed updating PHP dependencies after formulae in homebrew/core tap have been sharded into directories with prefixes. ([#780](https://togithub.com/shivammathur/setup-php/issues/780)) - Update `actions/setup-node` from `v3` to `v4` in the node workflow. - Update Node.js dependencies. For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.27.0...2.27.1)Follow for updates
### [`v2.27.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.27.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.26.0...2.27.0) ##### Changelog - Tools `box` and `php-scoper` can now be installed easily using the `tools` input. ([#776](https://togithub.com/shivammathur/setup-php/issues/776)) ```yaml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.2' tools: box, php-scoper ``` - Added support for macOS 14.x Sonoma and dropped support for macOS 11.x Big Sur following a three-year support cycle that Apple follows for macOS. - We now set `keepAlive` in `https` agent to `false` in `fetch.ts`. After Node 19 it is set to `true` by default. This prevented the node process from exiting until timeout after the action run was completed. ([#773](https://togithub.com/shivammathur/setup-php/issues/773), [#777](https://togithub.com/shivammathur/setup-php/issues/777)) - [Ref](https://togithub.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V19.md#https11-keepalive-by-default) - Fixed support for `couchbase` extension for PHP 7.4. ```yaml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '7.4' extensions: couchbase ``` - Fixed a warning when `find` was run without checking if the path exists on macOS. - Fixed checking for existing PHP installations on macOS on self-hosted environments. - Fixed adding tools in case `/usr/local/bin` directory was missing on self-hosted environments. - Bumped Node.js dependencies. ##### Merged Pull Requests - Merged pull request [#766](https://togithub.com/shivammathur/setup-php/pull/776) from [@theofidry](https://togithub.com/theofidry) ##### New Contributors - [@theofidry](https://togithub.com/theofidry) made their contribution in [#776](https://togithub.com/shivammathur/setup-php/pull/776) ##### Full Changelog For the complete list of changes, please refer to the [Full Changelog: 2.26.0...2.27.0](https://togithub.com/shivammathur/setup-php/compare/2.26.0...2.27.0). Thanks [@tillkruss](https://togithub.com/tillkruss) for the sponsorship ❤️Follow for updates
### [`v2.26.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.26.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.25.5...2.26.0) ##### Changelog ##### Microsoft SQL Server extensions. ([#758](https://togithub.com/shivammathur/setup-php/issues/758), [#766](https://togithub.com/shivammathur/setup-php/issues/766)) The latest supported version of `sqlsrv` and `pdo_sqlsrv` for the PHP version will be installed. Also, on Windows, these extensions will be installed from [`microsoft/msphpsql`](https://togithub.com/microsoft/msphpsql) GitHub releases and will fallback to `pecl`. ```yaml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.2' extensions: sqlsrv, pdo_sqlsrv ``` ##### PHP 8.4 Support ([#762](https://togithub.com/shivammathur/setup-php/issues/762)) Added support for PHP `8.4.0-dev` from the master branch of [`php/php-src`](https://togithub.com/php/php-src) for all supported OS. **Note**: PHP `8.3.0-dev` is now built from the new [`PHP-8.3`](https://togithub.com/php/php-src/tree/PHP-8.3) branch. ```yaml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.4' ``` ##### Fixes ##### Blackfire Player Resolved issues affecting the `blackfire-player` on Linux and macOS. It now installs the `uuid` extension that is required for the tool. Dropped support for it on Windows as `uuid` extension is not available for the OS. ```yaml - name: Setup PHP uses: shivammathur/setup-php@v2 with: tools: blackfire-player ``` ##### Updates ##### Update actions/checkout Updated the use of `actions/checkout` to v4 in the documentation and workflows. ```yaml - name: Checkout uses: actions/checkout@v4 ``` ##### Update Node.js Version **Note**: Node.js 16 reached End-of-Life on 2023-09-11 ([Ref](https://nodejs.dev/en/about/releases/)). Updated `action.yml` to use the `node20` binary. If you use `setup-php` on a self-hosted runner, please make sure it is [v2.308.0](https://togithub.com/actions/runner/releases/tag/v2.308.0) or newer to use this release or the major version tag `v2`. ##### Node.js Dependencies Bumped Node.js dependencies. ##### Merged Pull Requests - Merged pull request [#766](https://togithub.com/shivammathur/setup-php/pull/766) from [@GrahamCampbell](https://togithub.com/GrahamCampbell) - Merged pull request [#754](https://togithub.com/shivammathur/setup-php/pull/754) from [@jasongill](https://togithub.com/jasongill) ##### New Contributors - [@jasongill](https://togithub.com/jasongill) made their contribution in [#754](https://togithub.com/shivammathur/setup-php/pull/754) ##### Full Changelog For the complete list of changes, please refer to the [Full Changelog: 2.25.5...2.26.0](https://togithub.com/shivammathur/setup-php/compare/2.25.5...2.26.0).Follow for updates
### [`v2.25.5`](https://togithub.com/shivammathur/setup-php/releases/tag/2.25.5) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.25.4...2.25.5) #### Changelog - Added support for `castor` in tools input. [#746](https://togithub.com/shivammathur/setup-php/issues/746) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.2' tools: castor ``` - Fixed support for self-hosted Debian 12 environments. - Fixed support for self-hosted environments using DEB822-STYLE .sources files. - Fixed re-enabling opcache extension on macOS. [#749](https://togithub.com/shivammathur/setup-php/issues/749) - Updated Node.js dependencies. #### New Contributors - [@pyrech](https://togithub.com/pyrech) made their first contribution in [https://github.com/shivammathur/setup-php/pull/746](https://togithub.com/shivammathur/setup-php/pull/746) **Full Changelog**: https://github.com/shivammathur/setup-php/compare/2.25.4...2.25.5Follow for updates
### [`v2.25.4`](https://togithub.com/shivammathur/setup-php/releases/tag/2.25.4) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.25.3...2.25.4) #### Changelog - Fixed regression in 2.25.3 in PHPUnit installation by specifying `major` or `major.minor` version in the `tools` input. [#743](https://togithub.com/shivammathur/setup-php/issues/743) - Fixed `fs` import in `utls.test.ts`. - Updated Node.js dependencies. **Full Changelog**: https://github.com/shivammathur/setup-php/compare/2.25.3...2.25.4Follow for updates
### [`v2.25.3`](https://togithub.com/shivammathur/setup-php/releases/tag/2.25.3) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.25.2...2.25.3) #### Changelog - Added support for `zts` intl builds for all supported ICU versions. [#739](https://togithub.com/shivammathur/setup-php/issues/739), https://github.com/shivammathur/icu-intl/commit/d6ee42cd39943b532979d8f8ad6223042347b5cc. - Added docker to the `shivammathur/node` images. [#742](https://togithub.com/shivammathur/setup-php/issues/742) - Fixed regression in support for Zend extensions installed using PECL. [#738](https://togithub.com/shivammathur/setup-php/issues/738) - Fixed `PHPUnit` and `phpcpd` support to set up versions compatible with the PHP version. [#732](https://togithub.com/shivammathur/setup-php/issues/732) - Fixed support for `nektos/act` to run the action in self-hosted mode when using the tool. [#742](https://togithub.com/shivammathur/setup-php/issues/742) - Fixed parsing versions in tools input. [#734](https://togithub.com/shivammathur/setup-php/issues/734) - Updated Node.js dependencies. **Full Changelog**: https://github.com/shivammathur/setup-php/compare/2.25.2...2.25.3 #### New Contributors - [@amnuts](https://togithub.com/amnuts) made their first contribution in [https://github.com/shivammathur/setup-php/pull/732](https://togithub.com/shivammathur/setup-php/pull/732) Thanks [@ramsey](https://togithub.com/ramsey) and [@pxlrbt](https://togithub.com/pxlrbt) for the sponsorship ❤️Follow for updates
### [`v2.25.2`](https://togithub.com/shivammathur/setup-php/releases/tag/2.25.2) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.25.1...2.25.2) #### Changelog - Improved PHP builds cache for GitHub Actions Ubuntu environments. - Fixed support for PECL extensions in `extensions` input with version. [#725](https://togithub.com/shivammathur/setup-php/issues/725) - Updated `memcache` extension to `8.2` in the builds cache for GitHub Actions Ubuntu environments for PHP 8.0 and above. [#725](https://togithub.com/shivammathur/setup-php/issues/725) - Fixed a typo in the strategy of the sage example by [@yassinehamouten](https://togithub.com/yassinehamouten) in [https://github.com/shivammathur/setup-php/pull/726](https://togithub.com/shivammathur/setup-php/pull/726) - Updated Node.js dependencies. #### New Contributors - [@yassinehamouten](https://togithub.com/yassinehamouten) made their first contribution in [https://github.com/shivammathur/setup-php/pull/726](https://togithub.com/shivammathur/setup-php/pull/726) **Full Changelog**: https://github.com/shivammathur/setup-php/compare/2.25.1...2.25.2Follow for updates
### [`v2.25.1`](https://togithub.com/shivammathur/setup-php/releases/tag/2.25.1) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.25.0...2.25.1) #### Changelog - Fixed regression in support for event extension in `2.25.0` ([#722](https://togithub.com/shivammathur/setup-php/issues/722)). - Added fallback to GitHub API in `Add-DebugSymbols` on Windows. - Updated Node.js dependencies. **Full Changelog**: https://github.com/shivammathur/setup-php/compare/2.25.0...2.25.1Follow for updates
### [`v2.25.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.25.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.24.0...2.25.0) #### Changelog - Dropped support for Ubuntu 18.04. ([#717](https://togithub.com/shivammathur/setup-php/issues/717)) Please use `ubuntu-22.04` or `ubuntu-20.04` runners. ```diff - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 ### or - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 ``` - Added support for `php-version-file` input to read the input PHP version from a file [Docs](https://togithub.com/shivammathur/setup-php#php-version-file-optional). ([#690](https://togithub.com/shivammathur/setup-php/issues/690)) **Example**: If you have a file `.php-version` in your file structure with the PHP version as its content, you can use the `php-version-file` input. ```yml - name: Checkout uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version-file: .php-version ``` - Added support for `intl` extension with `ICU 73.1`. [https://github.com/shivammathur/icu-intl/pull/5](https://togithub.com/shivammathur/icu-intl/pull/5) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: extensions: intl-73.1 ``` - Added support for `snmp` and `uuid` on macOS using `shivammathur/extensions` tap. ([https://github.com/shivammathur/homebrew-extensions/issues/2426](https://togithub.com/shivammathur/homebrew-extensions/issues/2426), [https://github.com/shivammathur/homebrew-extensions/issues/2452](https://togithub.com/shivammathur/homebrew-extensions/issues/2452)) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: extensions: snmp, uuid ``` - Added retry logic across Windows to decrease the network failure rate. ([#700](https://togithub.com/shivammathur/setup-php/issues/700), [#711](https://togithub.com/shivammathur/setup-php/issues/711)) - Switched to using `phpenmod` script to enable extensions on Linux. - Switched to using `Write-Error` instead of `Exit` on Windows as that did not stop the workflow on errors. ([#709](https://togithub.com/shivammathur/setup-php/issues/709)) - Improved support for `relay` extension. [#719](https://togithub.com/shivammathur/setup-php/issues/719) - Fixed support for `zts` build of `zephir_parser` extension. [#701](https://togithub.com/shivammathur/setup-php/issues/701) - Fixed parameters in the `xargs` call. [#712](https://togithub.com/shivammathur/setup-php/issues/712) - Fixed minor shellcheck error. - Fixed the wrapper used to install Debian packages to check for broken package failures. - Fixed the JIT config set up to match the docs. - Updated Node.js dependencies. **Full Changelog**: https://github.com/shivammathur/setup-php/compare/2.24.0...2.25.0 #### Contributions - Fix DocBlock in `utils.ts` by [@viktorruskai](https://togithub.com/viktorruskai) in [https://github.com/shivammathur/setup-php/pull/689](https://togithub.com/shivammathur/setup-php/pull/689) - Support .php-version file for version detection by [@stevelacey](https://togithub.com/stevelacey) in [https://github.com/shivammathur/setup-php/pull/690](https://togithub.com/shivammathur/setup-php/pull/690) - Move php version default out of action.yml and update inputs by [@stevelacey](https://togithub.com/stevelacey) in [https://github.com/shivammathur/setup-php/pull/691](https://togithub.com/shivammathur/setup-php/pull/691) - docs: improve sentence structure slightly by [@G-Rath](https://togithub.com/G-Rath) in [https://github.com/shivammathur/setup-php/pull/707](https://togithub.com/shivammathur/setup-php/pull/707) - Add support for ICU 73-1 by [@jderusse](https://togithub.com/jderusse) in [https://github.com/shivammathur/icu-intl/pull/5](https://togithub.com/shivammathur/icu-intl/pull/5) #### New Contributors - [@viktorruskai](https://togithub.com/viktorruskai) made their first contribution in [https://github.com/shivammathur/setup-php/pull/689](https://togithub.com/shivammathur/setup-php/pull/689) - [@stevelacey](https://togithub.com/stevelacey) made their first contribution in [https://github.com/shivammathur/setup-php/pull/690](https://togithub.com/shivammathur/setup-php/pull/690) - [@G-Rath](https://togithub.com/G-Rath) made their first contribution in [https://github.com/shivammathur/setup-php/pull/707](https://togithub.com/shivammathur/setup-php/pull/707) Thanks! for the contribution 🎉Follow for updates
### [`v2.24.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.24.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.23.0...2.24.0) #### Support UkraineFollow for updates
### [`v2.23.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.23.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.22.0...2.23.0) #### Support UkraineFollow for updates
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.