setup-php/action.yml

34 lines
757 B
YAML
Raw Permalink 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
2020-11-24 17:58:41 +07:00
description: 'GitHub Action for PHP'
2019-09-06 08:52:50 +07:00
branding:
2019-09-06 07:40:52 +07:00
color: 'purple'
icon: 'play-circle'
2019-09-06 06:47:43 +07:00
inputs:
php-version:
2019-12-01 00:26:28 +07:00
description: 'Setup PHP version.'
default: '8.1'
required: true
extensions:
2019-12-01 00:26:28 +07:00
description: 'Setup PHP extensions.'
required: false
2022-01-25 15:13:49 +07:00
ini-file:
description: 'Set base ini file.'
default: 'production'
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
2021-07-12 18:30:40 +07:00
outputs:
php-version:
description: 'PHP version in semver format'
2019-09-06 06:47:43 +07:00
runs:
using: 'node12'
2019-11-24 06:44:53 +07:00
main: 'dist/index.js'