Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brokiem/pmmp-plugin-builder-action
Build Your PocketMine-MP plugin with Github Actions
https://github.com/brokiem/pmmp-plugin-builder-action
github-actions phar php plugin pmmp pmmp-plugin pmmp-plugin-builder pocketmine poggit virion
Last synced: 2 months ago
JSON representation
Build Your PocketMine-MP plugin with Github Actions
- Host: GitHub
- URL: https://github.com/brokiem/pmmp-plugin-builder-action
- Owner: brokiem
- Created: 2022-07-31T08:14:02.000Z (over 2 years ago)
- Default Branch: v1
- Last Pushed: 2022-08-02T04:28:42.000Z (over 2 years ago)
- Last Synced: 2024-09-27T10:21:52.128Z (3 months ago)
- Topics: github-actions, phar, php, plugin, pmmp, pmmp-plugin, pmmp-plugin-builder, pocketmine, poggit, virion
- Homepage:
- Size: 11.7 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PMMP Plugin Builder (PHAR)
With this github action script, you can make phar of your plugin and injecting virions with GitHub Actions easily.
This script aims for users who want to create phar on their private plugin because they can't use poggit to generate
phar plugin.## How to use
1. Create directory ``.github/workflows`` in your root repository
2. Copy ``phar-build.yml`` from this repo into your ``.github/workflows`` directory
3. Create file ``.libraries.yml`` if you're using virion(s) and then look at the example how to use it in this repo in
the [.libraries.yml](https://github.com/brokiem/pm-plugin-builder-actions/blob/master/.libraries.yml)
file
4. Activate ``Actions`` on your plugin repo if its disabled
5. Trigger the actions to execute the script
6. Done. You should have the generated phar now 👍🏻 🌟## Information
- If you want to release the phar on your repo, add ``[release]`` on the commit message
- You can download the generated phar from actions artifact or repo release section
- This phar-builder support any pocketmine plugin version
- You are free to modify anything from ``phar-build.yml`` file## Examples
- https://github.com/brokiem-pm-pl/PvPToggle/tree/pm4
- https://github.com/brokiem/SimplePets/tree/broki-patch## Question?
You can open issue to ask your question.