setup-php/action.yml

39 lines
1.4 KiB
YAML
Raw Normal View History

2019-10-29 08:31:12 +07:00
name: 'Setup PHP Action'
2019-09-06 07:40:52 +07:00
author: shivammathur
2019-10-12 00:39:05 +07:00
description: 'GitHub action to setup PHP with required extensions, php.ini configuration, code-coverage support and composer'
2019-09-06 08:52:50 +07:00
branding:
2019-09-06 07:40:52 +07:00
color: 'purple'
2019-09-06 06:47:43 +07:00
inputs:
php-version:
2019-12-01 00:26:28 +07:00
description: 'Setup PHP version.'
default: '7.4'
required: true
extensions:
2019-12-01 00:26:28 +07:00
description: 'Setup PHP extensions.'
required: false
ini-values:
2019-12-01 00:26:28 +07:00
description: 'Add values to php.ini.'
required: false
coverage:
2019-12-01 00:26:28 +07:00
description: 'Setup code coverage driver.'
required: false
2019-12-27 08:26:49 +07:00
tools:
description: 'Setup popular tools globally.'
2019-11-07 12:41:35 +07:00
required: false
# Deprecated options, do not use. Will not be supported after February 1, 2020.
extension-csv:
description: 'Deprecated! Use extensions instead.'
2019-12-09 14:02:55 +07:00
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.'
2019-12-09 14:02:55 +07:00
deprecationMessage: 'The ini-values-csv property will not be supported after February 1, 2020. Use ini-values instead.'
required: false
2019-12-27 08:26:49 +07:00
pecl:
description: 'Deprecated! Use tools instead to setup PECL.'
deprecationMessage: 'The pecl property will not be supported after February 1, 2020. Specify pecl in tools instead.'
required: false
2019-09-06 06:47:43 +07:00
runs:
using: 'node12'
2019-11-24 06:44:53 +07:00
main: 'dist/index.js'