sebinside / CraftBlock

CraftBlock stands for "Craft Attack 3 Skyblock" and is an expert skyblock modpack for Minecraft.
GNU Lesser General Public License v2.1
41 stars 17 forks source link

Use gradle to build advancement mod and Upload to CurseForge #45

Closed noeppi-noeppi closed 3 years ago

noeppi-noeppi commented 3 years ago

Still a Draft. I hope @joblo2213 creates a github action for this. (I think it might be best to just pull request the action into this PR).

Details for the action:

A CurseForge token must be provided through the environment variable CURSE_AUTH. Run on java 16 (It should work with other java versions too, just to be safe) Execute ./gradlew curseforge inside advancements to publish it. A git repo must be present as the gradle script uses git rev-parse --short HEAD so we get unique versions on CurseForge.

Also we still need to discuss how to set up the curse project:

MelanX commented 3 years ago

You can find the token in your curseforge account.

noeppi-noeppi commented 3 years ago

Oh and another thing: I don't know if it's possible to configure an action to only run if changes were made to a specific directory. If not, I'll need to find a way for this in gradle.