ff431ef526
* Bump @vercel/ncc from 0.24.1 to 0.25.1 Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.24.1 to 0.25.1. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.24.1...0.25.1) Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/async from 3.2.3 to 3.2.4 Bumps [@types/async](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/async) from 3.2.3 to 3.2.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/async) Signed-off-by: dependabot[bot] <support@github.com> * Bump typescript from 4.0.5 to 4.1.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2) Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/node from 12.19.4 to 12.19.6 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.19.4 to 12.19.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <support@github.com> * Build project It looks like `ncc` has a bug that adds 2 semicolon to `sourcemap-register.js` but that should not be a problem Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
dist | ||
src | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
action.yml | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
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 of the original BuildTools 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.
- 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