Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-Spider authored Mar 28, 2024
1 parent bb9c072 commit 9591905
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ subprojects { subproject ->
def noPublish = loader == "common"

githubRelease {
token = providers.environmentVariable("GITHUB_TOKEN")
token = System.getenv("GITHUB_TOKEN")
owner = github_user
repo = mod_id_kebab
tagName = "v${minecraft_version}-${mod_version}"
Expand All @@ -132,7 +132,7 @@ subprojects { subproject ->
}

modrinth {
token = providers.environmentVariable("MODRINTH_TOKEN")
token = System.getenv("MODRINTH_TOKEN")
projectId = mod_id_kebab
versionNumber = mod_version
versionName = "[${loader} - ${minecraft_version}] ${mod_title} v${mod_version}"
Expand All @@ -156,7 +156,7 @@ subprojects { subproject ->
}

curseforge {
apiKey = providers.environmentVariable("CURSEFORGE_TOKEN")
apiKey = System.getenv("CURSEFORGE_TOKEN")
project {
id = curseforge_id
changelogType = "markdown"
Expand Down

0 comments on commit 9591905

Please sign in to comment.