mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
34 lines
757 B
YAML
34 lines
757 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.'
|
|
default: '8.2'
|
|
required: true
|
|
extensions:
|
|
description: 'Setup PHP extensions.'
|
|
required: false
|
|
ini-file:
|
|
description: 'Set base ini file.'
|
|
default: 'production'
|
|
required: false
|
|
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: 'node16'
|
|
main: 'dist/index.js'
|