setup-php v2.0.0 Release Notes
Release Date: 2020-02-16 // about 4 years ago-
๐ New features
- ๐ Support for caching extensions. docs
- Support to setup specific versions of
PECL
extensions. 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.4
and5.5
to 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-csv
input toextensions
- ๐ Rename
ini-values-csv
input toini-values
โ Remove
pecl
input and add a tools input withpecl
in 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