setup-php/action.yml
2019-09-26 20:24:24 +05:30

23 lines
667 B
YAML

name: 'Setup PHP Action'
author: shivammathur
description: 'Setup a PHP environment with composer and add it to the PATH'
branding:
icon: 'activity'
color: 'purple'
inputs:
php-version:
description: 'PHP version to be installed.'
required: true
extension-csv:
description: '(Optional) Comma seperated list of PHP extensions to be installed.'
required: false
ini-values-csv:
description: '(Optional) Custom values you want to set in php.ini'
required: false
coverage:
description: '(Optional) Driver to calculate code coverage (Accepts: xdebug and pcov)'
required: false
runs:
using: 'node12'
main: 'lib/install.js'