Skip to content

Commit

Permalink
change: Remove CurseForge integration from publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
jellysquid3 committed Dec 18, 2020
1 parent 10d0b53 commit a38b1bd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 35 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ jobs:
with:
files: 'build/libs/*;LICENSE'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload assets to CurseForge
run: ./gradlew curseforge
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
26 changes: 0 additions & 26 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'fabric-loom' version '0.4-SNAPSHOT'
id "com.matthewprenger.cursegradle" version "1.4.0"
}

sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -61,29 +60,4 @@ task sourcesJar(type: Jar, dependsOn: classes) {

jar {
from "LICENSE"
}

def cf_api_token = System.getenv("CF_API_TOKEN")

curseforge {
// If the environment variable does not exist,
apiKey cf_api_token == null ? "" : cf_api_token

project {
id = project.cf_project_id
releaseType = 'beta'

addGameVersion project.cf_game_version

def displayNameBase = "${project.cf_project_name} mc${project.minecraft_version}-${project.version}"

mainArtifact(jar) {
displayName = displayNameBase
}
}

options {
javaIntegration = false
forgeGradleIntegration = false
}
}
5 changes: 0 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,3 @@ loader_version=0.9.3+build.207
mod_version=0.7.0
maven_group=me.jellysquid.mods
archives_base_name=phosphor-fabric

cf_project_id=372124
cf_project_name=Phosphor
cf_game_version=1.16

0 comments on commit a38b1bd

Please sign in to comment.