From bbbc7377fd8a4b3f0d5c1726acfc4c06ee836df6 Mon Sep 17 00:00:00 2001 From: MartinSVK12 <37455793+MartinSVK12@users.noreply.github.com> Date: Fri, 21 Feb 2025 19:10:58 +0100 Subject: [PATCH] another attempt at making github workflows not stupid --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index afa9e55..2133ec9 100644 --- a/build.gradle +++ b/build.gradle @@ -185,7 +185,7 @@ publishing { } modrinth { - token = modrinthToken + token = hasProperty("modrinthToken") ? modrinthToken : null projectId = "halplibe" // This can be the project ID or the slug. Either will work! versionName = "HalpLibe ${project.mod_version}" versionNumber = project.mod_version // You don't need to set this manually. Will fail if Modrinth has this version already