Go to file
dependabot[bot] f446878b56
Bump @actions/core from 1.2.6 to 1.4.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.4.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 18:01:11 +00:00
.github Set Dependabot to check monthly instead of weekly 2021-04-01 22:02:22 +02:00
dist Update dependencies (#47) 2021-04-01 22:03:34 +02:00
src Merge pull request #60 from SpraxDev/use-jdk-8 2021-04-01 21:53:05 +02:00
.gitattributes Initial commit 2020-11-01 02:29:17 +01:00
.gitignore Set Dependabot to check monthly instead of weekly 2021-04-01 22:02:22 +02:00
CODE_OF_CONDUCT.md Create GitHub related files 2020-11-01 03:53:06 +01:00
CONTRIBUTING.md Create GitHub related files 2020-11-01 03:53:06 +01:00
LICENSE Initial commit 2020-11-01 02:29:17 +01:00
README.md Merge pull request #60 from SpraxDev/use-jdk-8 2021-04-01 21:53:05 +02:00
action.yml Merge pull request #60 from SpraxDev/use-jdk-8 2021-04-01 21:53:05 +02:00
package-lock.json Bump @actions/core from 1.2.6 to 1.4.0 2021-07-01 18:01:11 +00:00
package.json Bump @actions/core from 1.2.6 to 1.4.0 2021-07-01 18:01:11 +00:00
tsconfig.json Initial commit 2020-11-01 02:29:17 +01:00

README.md

Get Support on Discord Support me on Patreon

Build & Run Quality Gate Status

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