Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmmp/setup-php-action
GitHub Action to setup PHP binaries with extensions needed by PocketMine-MP
https://github.com/pmmp/setup-php-action
Last synced: 3 months ago
JSON representation
GitHub Action to setup PHP binaries with extensions needed by PocketMine-MP
- Host: GitHub
- URL: https://github.com/pmmp/setup-php-action
- Owner: pmmp
- License: mit
- Created: 2021-11-07T18:45:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T00:33:16.000Z (3 months ago)
- Last Synced: 2024-09-27T09:43:35.335Z (3 months ago)
- Language: TypeScript
- Size: 2.18 MB
- Stars: 8
- Watchers: 6
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# setup-php-action
This action installs PHP and Composer for [PocketMine-MP](https://github.com/pmmp/PocketMine-MP) from [pmmp/PHP-Binaries releases](https://github.com/pmmp/PHP-Binaries/releases).
This is used internally for PM's own CIs, and can also be used by plugins using GitHub Actions.
Currently only supported on Linux, but MacOS and Windows support is planned for the future.
## Inputs
| Name | Required | Possible values | Description |
|:-----|:--------:|:----------------|:------------|
| `php-version` | YES | Any version available in [`pmmp/PHP-Binaries`](https://github.com/pmmp/PHP-Binaries) (currently `8.1` and `8.2`) | PHP version, must be a full `major.minor.patch` |
| `install-path` | YES | Folder path | Path to install the binary into (e.g. `./bin`) |
| `pm-version-major` | NO | `4`, `5` | Major version of [PocketMine-MP](https://github.com/pmmp/PocketMine-MP) to build extensions for |