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 and 5.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 to extensions
    • ๐Ÿ“‡ Rename ini-values-csv input to ini-values
    • โœ‚ Remove pecl input and add a tools input with pecl 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