Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/franzliedke/gh-action-php
Executes a file with any PHP version
https://github.com/franzliedke/gh-action-php
Last synced: about 1 month ago
JSON representation
Executes a file with any PHP version
- Host: GitHub
- URL: https://github.com/franzliedke/gh-action-php
- Owner: franzliedke
- License: mit
- Created: 2019-03-02T12:56:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-08T21:50:04.000Z (over 2 years ago)
- Last Synced: 2024-05-01T21:22:08.075Z (7 months ago)
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 20
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action for PHP
This action lets you execute any file / script with several PHP versions.
## Usage
Via GitHub Workflow:
```hcl
action "Run tests" {
uses = "franzliedke/[email protected]"
runs = "php8.1 vendor/bin/phpunit"
}
```## Available versions
| Version | Binary |
| -------- | -------- |
| 5.6 | `php5.6` |
| 7.0 | `php7.0` |
| 7.1 | `php7.1` |
| 7.2 | `php7.2` |
| 7.3 | `php7.3` |
| 7.4 | `php7.4` |
| 8.0 | `php8.0` |
| 8.1 | `php8.1` |## License
The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.