Spigot Build Action is a simple GitHub Action project, for the server owners who cannot build Spigot on their own computer. You can download the spigot.jar in every build action.
You can get the other version just doing following steps,
- Fork this repository. (Maybe leave a star)
- Edit the
buildspigot-buildtools.yml
in.github/workflows
. Change--rev latest
to--rev [the version]
and changejava-version: "17"
to compatible one, which you can find below. - Push the changed files.
- Go to Actions, Workflows, All workflows, BuildSpigot, and Run workflow.
- Wait for the action done.
- Download the artifact from the action.
- Minecraft 1.18 and above
java-version: 17
- Minecraft 1.17
java-version: 16
- Minecraft 1.16 and below
java-version: 8
懂得都懂。
- 复刻(Fork)这个项目。
- 编辑
.github/workflows
里的buildspigot-buildtools.yml
:把--rev latest
里的 latest 改成你要的版本,例如--rev 1.16.5
;如果你要的MC版本低于1.17.X
,记得把setup-java
里的java-version: "17"
改成合适的版本(你可以在下面找到合适的版本)。 - 把改完的文件推上去。
- 打开你的项目的 Actions,Workflows,BuildSpigot with Latest Tools,点
Run workflow
。 - 等待 Action 完成。
- 点开最新的 Action,在下面的 Artifacts 里找到 Spigot,点击下载。
- Minecraft 1.21 and above
java-version: "21"
- Minecraft 1.18 until 1.20
java-version: "17"
- Minecraft 1.17
java-version: "16"
- Minecraft 1.16 and below
java-version: "8"