Fix Modrinth publishing
This commit is contained in:
parent
fceaedf95f
commit
18cae30b6d
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -29,6 +29,6 @@ jobs:
|
|||
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||
|
||||
- name: Upload to Modrinth
|
||||
run: ./gradlew publishModrinth
|
||||
run: ./gradlew modrinth
|
||||
env:
|
||||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||
|
|
@ -242,10 +242,13 @@ if (System.getenv("CURSEFORGE_TOKEN")) {
|
|||
modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "WP0FLyzv"
|
||||
uploadFile = jar
|
||||
versionName = "Ex Deorum ${project.version}"
|
||||
gameVersions = [mc_version]
|
||||
loaders = ["forge", "neoforge"]
|
||||
changelog = getChangelog(project.version)
|
||||
|
||||
uploadFile = jar
|
||||
additionalFiles.add(sourcesJar)
|
||||
}
|
||||
|
||||
static def getChangelog(Object version) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user