Skip to content

Commit

Permalink
modrinth my beloved
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 9, 2023
1 parent 2186642 commit b02d620
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to CF & MR
name: Publish to Modrinth
on: [workflow_dispatch]

jobs:
Expand All @@ -25,5 +25,4 @@ jobs:
- name: Build & Release
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
run: ./gradlew build publishMods
12 changes: 1 addition & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,10 @@ jar {
publishMods {
file = remapJar.archiveFile
version = "$mod_version-mc$minecraft_version"
changelog = "Blahaj!"
type = STABLE
displayName = "Blåhaj Mod v$mod_version for $minecraft_version"
modLoaders.add("fabric")
modLoaders.add("quilt")

curseforge {
projectId = curseforge_id
accessToken = System.getenv("CURSEFORGE_TOKEN")
minecraftVersions.add(minecraft_version)

requires {
slug = "fabric-api"
}
}

modrinth {
projectId = modrinth_id
Expand Down
5 changes: 1 addition & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@ fabric_version = 0.86.0+1.20.1
##############
# Publishing #
##############
# Curseforge
curseforge_id = null

# Modrinth
modrinth_id = null
modrinth_id = QGdIs8KJ

0 comments on commit b02d620

Please sign in to comment.