Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

Setup PHP for PocketMine-MP

1.0.0

Setup PHP for PocketMine-MP

play

Setup PHP for PocketMine-MP

Install PHP and Composer for PocketMine-MP and related projects

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup PHP for PocketMine-MP

uses: pmmp/[email protected]

Learn more about this action in pmmp/setup-php-action

Choose a version

setup-php-action status

setup-php-action

This action builds and installs PHP with the needed extensions for PocketMine-MP. This is currently used internally for PM's own CIs, and perhaps by plugins in the future.

Inputs

Name Required Possible values Description
php-version YES Any version available in pmmp/php-build 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 to build extensions for