Skip to content
 
 

Repository files navigation

setup-php-action

This action installs PHP and Composer for Altay from altayofficial/PHP-Binaries releases.

It is a fork of pmmp/setup-php-action. The only difference is where the binaries come from: Altay builds its own because the upstream ones are compiled without ext-ffi, which the NetherNet transport needs. Point binaries-repository back at pmmp/PHP-Binaries to get the upstream builds.

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 altayofficial/PHP-Binaries (currently 8.1 through 8.4) PHP version, as major.minor
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
binaries-repository NO Any repository publishing PHP-Binaries releases Where to download the binaries from, defaults to altayofficial/PHP-Binaries

About

GitHub Action to setup PHP binaries with extensions needed by PocketMine-MP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages