4d6b6af270
* Bump @vercel/ncc from 0.26.1 to 0.27.0 Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.26.1 to 0.27.0. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.26.1...0.27.0) Signed-off-by: dependabot[bot] <support@github.com> * Bump fs-extra from 9.0.1 to 9.1.0 Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.0.1 to 9.1.0. - [Release notes](https://github.com/jprichardson/node-fs-extra/releases) - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.0.1...9.1.0) Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/node from 12.19.11 to 12.19.15 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.19.11 to 12.19.15. - [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> * Run build script * Bump typescript from 4.1.3 to 4.2.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.2.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.2.3) Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/fs-extra from 9.0.6 to 9.0.9 Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 9.0.6 to 9.0.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra) Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/node from 12.19.11 to 12.20.7 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.19.11 to 12.20.7. - [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> 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-SpigotMC
This Action allows you to easily compile Minecraft Spigot or Paper and install it in your runners local maven repository.
Supported:
- SpigotMC (using official BuildTools or my modified one)
PaperMC(coming soon #26)
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
Note: Use actions/cache
as described here to save some additional time by caching between runs!
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-SpigotMC@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 # Optional
# Should sources be generated?
# If enabled, BuildTools is provided the '--generate-source' argument
generateSrc: false # Optional
# Should the documentation be generated?
# If enabled, BuildTools is provided the '--generate-docs' argument
generateDoc: false # Optional
# Should we disable the BuildTools's Java-Version-Check?
# If enabled, BuildTools is provided the '--disable-java-check' argument
disableJavaCheck: false # Optional
# 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 # Optional
# The amount of builds allowed to run at the same time
# Set to '-1' to use system's cpu core count
threads: -1 # Optional
# You can choose between different BuildTools to be used by this action
# ~~'SpraxDev' is my fork of SpigotMC's that introduces some changes (https://github.com/SpraxDev/Spigot-BuildTools/#breaking-changes)~~
# My (SpraxDev) provider is causing some builds to fail depending on the build environment
# Available: SpraxDev, SpigotMC
buildToolProvider: SpigotMC # Optional