Update action.yml and README

This commit is contained in:
Shivam Mathur 2019-09-06 06:10:52 +05:30
parent 485fe28915
commit 76c87c4d3e
2 changed files with 16 additions and 3 deletions

View File

@ -4,9 +4,19 @@
<a href="https://github.com/shivammathur/setup-php"><img alt="GitHub Actions status" src="https://github.com/shivammathur/setup-php/workflows/Main%20workflow/badge.svg"></a>
</p>
This action sets up a php environment for use in actions by:
This action sets up a php environment along with composer on multiple platforms for use in github actions.
- optionally installing a version of PHP and adding to PATH. Along with php it also installs composer
# PHP Version Support
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
# Operating Systems Support
- Linux (ubuntu-latest)
- Windows (windows-latest)
- MacOS (macOS-latest)
# Usage

View File

@ -1,6 +1,9 @@
name: 'Setup PHP environment'
name: 'Setup PHP environment with composer on multiple platforms'
author: shivammathur
description: 'Setup a PHP environment with composer and add it to the PATH'
author: 'shivammathur'
icon: 'activity'
color: 'purple'
inputs:
php-version:
description: 'PHP version to install.'