setup-php/action.yml
2019-12-19 10:40:58 +01:00

35 lines
1.1 KiB
YAML

name: 'Setup PHP Action'
author: shivammathur
description: 'GitHub action to setup PHP with required extensions, php.ini configuration, code-coverage support and composer'
branding:
color: 'purple'
inputs:
php-version:
description: 'Setup PHP version.'
default: '7.4'
required: true
extensions:
description: 'Setup PHP extensions.'
required: false
ini-values:
description: 'Add values to php.ini.'
required: false
coverage:
description: 'Setup code coverage driver.'
required: false
pecl:
description: 'Setup PECL on ubuntu'
required: false
# Deprecated options, do not use. Will not be supported after February 1, 2020.
extension-csv:
description: 'Deprecated! Use extensions instead.'
deprecationMessage: 'The extension-csv property will not be supported after February 1, 2020. Use extensions instead.'
required: false
ini-values-csv:
description: 'Deprecated! Use ini-values instead.'
deprecationMessage: 'The ini-values-csv property will not be supported after February 1, 2020. Use ini-values instead.'
required: false
runs:
using: 'node12'
main: 'dist/index.js'