New features
- Support for caching extensions. docs
- Support to setup specific versions of
PECLextensions. docs - Support for existing PHP on
macos. Setup time should be down from 3 to 5 minutes to around a minute. - Support for PHP
5.3,5.4and5.5to test backward compatibility. docs - Support for force updating PHP to latest patch release. docs
- Problem matchers for PHP native errors. docs
Migrate to v2
Note: Disregard if you are already using new inputs.
- Rename
extension-csvinput toextensions - Rename
ini-values-csvinput toini-values - Remove
peclinput and add a tools input withpeclin it.
- uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
- extension-csv: xml, pcov
- ini-values-csv: post_max_size=256M
- pecl: true
+ uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
+ extensions: xml, pcov
+ ini-values: post_max_size=256M
+ tools: pecl