mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-24 12:51:05 +07:00
5d259c66b1
Node 16 is EOL on 2023-09-11 so we update it to Node 20 that was added in the actions/runner in v2.308.0
36 lines
829 B
YAML
36 lines
829 B
YAML
name: 'Setup PHP Action'
|
|
author: shivammathur
|
|
description: 'GitHub Action for PHP'
|
|
branding:
|
|
color: 'purple'
|
|
icon: 'play-circle'
|
|
inputs:
|
|
php-version:
|
|
description: 'Setup PHP version.'
|
|
required: false
|
|
php-version-file:
|
|
description: 'Setup PHP version from a file.'
|
|
required: false
|
|
extensions:
|
|
description: 'Setup PHP extensions.'
|
|
required: false
|
|
ini-file:
|
|
description: 'Set base ini file.'
|
|
required: false
|
|
default: 'production'
|
|
ini-values:
|
|
description: 'Add values to php.ini.'
|
|
required: false
|
|
coverage:
|
|
description: 'Setup code coverage driver.'
|
|
required: false
|
|
tools:
|
|
description: 'Setup popular tools globally.'
|
|
required: false
|
|
outputs:
|
|
php-version:
|
|
description: 'PHP version in semver format'
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/index.js'
|