72

Releases · shivammathur/setup-php · GitHub

 3 years ago
source link: https://github.com/shivammathur/setup-php/releases
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Releases · shivammathur/setup-php · GitHub

Be notified of new releases

Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 50 million developers.

Sign up

shivammathur released this 13 days ago

  • PHP 8.0 is now stable PHP 8.0.0 on setup-php for all supported OS. partying_face
  • Add new JIT configuration section to the README.

For example, to enable JIT on PHP 8.0.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.0'
    ini-values: opcache.enable_cli=1

Refer to JIT Configuration for more details.

  • Skip prestissimo and composer-prefetcher unless composer:v1 is specified.

For example to setup prestissimo, use

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.0'
    tools: composer:v1, prestissimo
  • Set Xdebug version to 2.9.8 on PHP 7.2. #345
  • Set xdebug.mode=coverage ini directive always #346
  • Sync dependencies from shivammathur/extensions tap in add_brew_extension.
  • Fix fail-fast on Windows.
  • Fix deleting extensions when one extension is a substring of the other. For example pdo_sqlsrv and sqlsrv.
  • Fix fetching extension version from PECL on macOS.
  • Fix fetching grpc latest tag. (grpc/grpc.io#79)
  • Prioritize Bintray over GitHub releases for fetching scripts.
  • Refactor darwin.sh script.
  • Change project description in actions.yml.
  • Bump version to 2.9.0

Thanks @owenvoke for the contribution tada


Support the project

Follow for updates

Assets 2

shivammathur released this 20 days ago · 18 commits to master since this release

  • Add support to setup a specific Composer version.
    For example to setup Composer 2.0.6.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
    tools: composer: 2.0.6
  • Add support for couchbase extension for PHP 5.6 to PHP 7.4.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
    extensions: couchbase
  • Set blackfire-player to v1.9.3 for PHP 5.5 to PHP 7.0.
  • Set composer version to v1 when prestissimo or composer-prefetcher is specified in tools. It is recommended to stop using prestissimo as Composer 2 is faster on its own.
  • Document using setup-php on i386 and amd64 containers using spc. Docs. Closes #326.
  • Add workflow to document extensions that are enabled by default on wiki. (#327)
  • Fix tools setup when latest release does not have the tool in release assets. Will now fetch tool from the previous release till it is added to the latest release.
  • Improve regex for pre-release PECL extensions. (#325)
  • Install VcRedist from GitHub on Windows.
  • Update PHP dependencies as per GitHub Action runner version on macOS.
  • Fix grpc_php_plugin setup. Now uses Xcode 11.7 as compiling it with Xcode 12 is flaky.
  • Fix extension setup on PHP 8.0 and PHP 8.1 and for all PHP versions on self-hosted Linux.
  • Fix composer setup when it is a dependency of a tool.
  • Revert back to apt-fast as after 1.9.10 release it reports correct exit codes.
  • Revert back to using dashes in step-ids as issue parsing them is fixed upstream (nektos/act#287).
  • Use GitHub releases(s3) as primary source for builds and scripts with bintray only as fallback. This will scale setup-php better and avoid bintray's 2TB/month download limit.
  • Refactor and dry linux.sh and darwin.sh.
  • Fix contribution docs.

Thanks @GrahamCampbell and @mlocati for the contributions tada

Assets 2

shivammathur released this on Oct 31 · 31 commits to master since this release

  • Add support for PHP 8.1.0-dev. Specify php-version: 8.1 to setup. docs. Closes #303
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
  • Add support for macOS Big Sur macos-11.0. docs
runs-on: macos-11.0
  • Add support for fail-fast flag. It will mark the workflow as failed if an extension or tool fails to install. Closes #306
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7,4'
    tools: deployer
  env:
    fail-fast: true
  • Add support for igbinary and imagick for PHP 5.6 and newer on macOS using shivammathur/homebrew-extensions.
  • Fix setup for extensions ast, phalcon4, pdo_oci and oci8 after october update in ppa:ondrej/php.
  • Fix problem matchers setup when action is called more than once in the same workflow.
  • Switch to apt-get till apt-fast is updated to 1.9.10 on the runner.
  • Fetch PhpManager from release assets.
  • Remove patch for RLIMIT_CORE bug in sudo, fixed upstream.
  • Minor fixes for typos in scripts.
  • Update README.

Thanks @mlocati for the contribution tada

Assets 2

shivammathur released this 13 days ago

v1 maintenance release

  • PHP 8 is stable PHP 8.0.0 now on setup-php.
  • Add JIT configuration section to the README. Refer to JIT Configuration.
  • Sync dependencies from shivammathur/extensions tap in add_brew_extension.
  • Fix Xdebug setup.
  • Fix tool setup on Windows.
  • Fix shellcheck warning in add_tool.
  • Fix deleting extensions when one extension is a substring of the other.
  • Fix fetching extension version from PECL on macOS.
  • Refactor darwin.sh script.
  • Change project description in actions.yml.
Assets 2

shivammathur released this 22 days ago · 9 commits to releases/v1 since this release

v1 maintenance release

  • Allow installing a specific Composer version.
  • Fix tools setup when latest release does not have the tool in release assets. Will now fetch tool from the previous release till it is added to the latest release.
  • Improve regex for pre-release PECL extensions.
  • Install VcRedist from GitHub on Windows.
  • Set composer version to v1 when prestissimo or composer-prefetcher is specified in tools. It is recommended to stop using prestissimo as Composer 2 is faster on its own.
  • Update PHP dependencies as per GitHub Action runner version on macOS.
  • Fix extension setup on PHP 8.0.
  • Fix composer setup when it is a dependency of a tool.
  • Revert back to apt-fast as it now reports correct exit codes.
  • Revert back to using dashes in step-ids as issue parsing them is fixed upstream on nektos/act.
Assets 2

shivammathur released this on Oct 23 · 23 commits to releases/v1 since this release

  • Add support for igbinary and imagick for PHP 5.6 and newer on macOS using shivammathur/homebrew-extensions.
  • Fix matchers setup when action is called twice.
  • Perform only one URL call to download latest PhpManager.zip asset.
  • Switch to apt-get till apt-fast is updated to 1.9.10 on the runner.
  • Add warnings to v1 to switch to v2.
  • Fix phalcon4 setup after october update in ppa:ondrej/php.
  • Minor fixes in scripts.
  • Update Node.js dependencies
Assets 2

shivammathur released this on Oct 18 · 57 commits to master since this release

  • Setup PHP now has discussions feature. So if you need any help with your workflows, want to suggest features or share anything in general related to PHP, please use setup-php discussions.
  • Add support for behat and phpspec. (Docs)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
    tools: behat, phpspec
  • Add version of tools in logs. Closes #288
  • Add alias latest for current stable php version. (Docs). Closes #293
- name: Setup PHP with phing
  uses: shivammathur/setup-php@v2
  with:
    php-version: latest
  • Switch to environment files to edit PATH and other environment variables. Apply GHSA-mfwh-5m23-j46w (CVE-2020-15228)
  • Prioritize with over env for inputs. Fixes #295
  • Document PHPStan and Psalm support for GitHub Actions in README. (Docs). Related #292
  • Move problem matchers setup to scripts.
  • Refactor install.ts and install.test.ts.
  • Replace codecov badge with one from shields.io.
  • Hyperlink support URL in the logs.
  • Fix dependency mess in phalcon4 setup on Ubuntu after October update in ppa:ondrej/php.
  • Fix some typos and warnings in bash scripts.
  • Overwrite php_oci8.dll for PHP 8 on Windows to fix error when extensions are cached.
  • Update Node.js dependencies.
  • Bump version to 2.6.0.

Thanks @szepeviktor for the contributions tada

Assets 2
PreviousNext

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK