Releases: shivammathur/setup-php
Releases · shivammathur/setup-php
2.7.0
- 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
andimagick
forPHP 5.6
and newer onmacOS
usingshivammathur/homebrew-extensions
. - Fix setup for extensions
ast
,phalcon4
,pdo_oci
andoci8
after october update inppa:ondrej/php
. - Fix problem matchers setup when action is called more than once in the same workflow.
- Switch to
apt-get
tillapt-fast
is updated to1.9.10
on the runner. - Fetch
PhpManager
from release assets. - Remove patch for
RLIMIT_CORE
bug insudo
, fixed upstream. - Minor fixes for typos in scripts.
- Update
README
.
Thanks @mlocati for the contribution 🎉
1.10.1
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 inadd_brew_extension
. - Fix
Xdebug
setup. - Fix tool setup on
Windows
. - Fix
shellcheck
warning inadd_tool
. - Fix deleting extensions when one extension is a substring of the other.
- Fix fetching extension version from
PECL
onmacOS
. - Refactor
darwin.sh
script. - Change project description in
actions.yml
.
1.10.0
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 onWindows
. - Set
composer
version tov1
whenprestissimo
orcomposer-prefetcher
is specified in tools. It is recommended to stop usingprestissimo
asComposer 2
is faster on its own. - Update
PHP
dependencies as per GitHub Action runner version onmacOS
. - 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
.
1.9.8
- Add support for
igbinary
andimagick
forPHP 5.6
and newer onmacOS
usingshivammathur/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
tillapt-fast
is updated to1.9.10
on the runner. - Add warnings to
v1
to switch tov2
. - Fix
phalcon4
setup after october update inppa:ondrej/php
. - Minor fixes in scripts.
- Update Node.js dependencies
2.6.0
- 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
andphpspec
. (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
overenv
for inputs. Fixes #295 - Document
PHPStan
andPsalm
support for GitHub Actions inREADME
. (Docs). Related #292 - Move
problem matchers
setup to scripts. - Refactor
install.ts
andinstall.test.ts
. - Replace
codecov
badge with one fromshields.io
. - Hyperlink support URL in the logs.
- Fix dependency mess in phalcon4 setup on
Ubuntu
after October update inppa: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 🎉
2.5.0
- Add support for
phing
. Closes #275
- name: Setup PHP with phing
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: phing
- Add support to install
intl
extension with differentICU
versions forPHP 5.6
toPHP 7.4
onUbuntu
.
ICU 50.2
and newer versions are supported. Refer to ICU builds for the specific versions supported. Closes #282.
- name: Setup PHP with intl and ICU 67.1
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: intl-67.1
- Add
printf
toPATH
if not found inWindows
. - Add status page badge in
README
. - Revert to
Powershell PhpManager
to installPHP 8
onWindows
. (Ref: mlocati/powershell-phpmanager#62). - Switch from tags to releases and use release assets to get
Powershell PhpManager
. - Fix regex in
protoc.sh
. - Fix installing extensions from
Dotdeb
PPA forPHP 5.4
andPHP 5.5
. Ref: #281. - Fix removing extensions for
Ubuntu
self-hosted runners. - Replace
fedora
references with a valid platform name to validate againstprocess.platform
. - Refactor
tools.ts
andwin32.ps1
. - Bump
Typescript
version to4.0.1
.
Thanks @mlocati for the contributions 🎉
1.9.7
- Switch to environment files to edit
PATH
and other environment variables. Apply GHSA-mfwh-5m23-j46w (CVE-2020-15228) - Prioritize
with
overenv
for inputs. - Document
PHPStan
andPsalm
support for GitHub Actions inREADME
. - Move
problem matchers
setup to scripts. - Hyperlink support URL in the logs.
- Fix dependency mess in phalcon4 setup on
Ubuntu
after October update inppa:ondrej/php
. - Fix some typos and warnings in bash scripts.
- Update
Node.js
dependencies.
1.9.6
- Add
printf
toPATH
if not found inWindows
. - Revert to
Powershell PhpManager
to installPHP 8
onWindows
. - Switch from tags to releases and use release assets to get
Powershell PhpManager
. - Replace
fedora
references with a valid platform name to validate againstprocess.platform
. - Refactor
tools.ts
. - Bump version to
1.9.6
.
2.4.3
- Fix removing extensions on
Ubuntu
self-hosted runners. Fixes #271 - Fix fallback for fetching
composer
. - Remove old
PHPUnit
onUbuntu
runners. - Switch to fixed
getcomposer.org
links. - Add twitter badge to the
README
.
1.9.5
- Add fallback for fetching
composer
. - Remove old
PHPUnit
onUbuntu
runners. - Switch to fixed
getcomposer.org
links.