From b3a7119889aaf6ff992e796f6de1483333c75d0c Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Sun, 1 Nov 2020 03:24:55 +0100 Subject: [PATCH] Create README.md (#13) --- README.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bb2861..2783799 100644 --- a/README.md +++ b/README.md @@ -1 +1,75 @@ -# actions-spigotmc-test \ No newline at end of file +

+ + Get Support on Discord + + + Support me on Patreon + +

+ +

+ + Build & Run + + + Quality Gate Status + +

+ +# Action-Spigot +This Action allows you to easily compile Minecraft Spigot +and install it in your runners local maven repository. + +You configure all the versions you want, and it'll compile all the missing versions automatically. +By checking for a file in the local maven repository beforehand, build times can be reduces drastically. + +By default, this Action uses [a fork](https://github.com/SpraxDev/Spigot-BuildTools#readme) of the +[original BuildTools](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/buildtools/browse) +to introduce some improvements in *system compatibility* and *speed*. + + +## Usage +All the values already provided below are their default values. + +If you don't change them, you can remove them from your workflow, +as they are set automatically. + +```YAML +- uses: SpraxDev/Action-Spigot@v1 + with: + # A comma-separated list of Spigot version that should be compiled + # These values are later given to the BuildTools.jar as '--rev' argument + # + # Example: latest, 1.14.4, 1.8.8 + versions: latest + + # A comma-separated list of build targets + # This value is later given to the BuildTools.jar as '--compile' argument + # + # Available: None, Spigot, CraftBukkit + # Example: Spigot, CraftBukkit + target: Spigot + + # Should sources be generated? + # If enabled, BuildTools is provided the '--generate-source' argument + generateSrc: false + + # Should the documentation be generated? + # If enabled, BuildTools is provided the '--generate-docs' argument + generateDoc: false + + # Should we disable the BuildTools's Java-Version-Check? + # If enabled, BuildTools is provided the '--disable-java-check' argument + disableJavaCheck: false + + # Disables the check for existing files in the local maven repository + # Normally, a version is skipped if it is already installed + # in the local maven repository to speed up build time + forceRun: false + + # The amount of builds allowed to run at the same time + # Set to '-1' to use system's cpu core count + threads: -1 +``` \ No newline at end of file