Fix publishMods dryRun

This commit is contained in:
modmuss50 2023-08-09 18:10:52 +01:00
parent 0ba8e9ce03
commit a336222d5a

View file

@ -733,7 +733,7 @@ publishMods {
type = project.prerelease == "true" ? BETA : STABLE
displayName = "[${project.minecraft_version}] Fabric API $project.version"
modLoaders.add("fabric")
dryRun = providers.environmentVariable("GITHUB_TOKEN").getOrNull() == null
dryRun = providers.environmentVariable("CURSEFORGE_API_KEY").getOrNull() == null
curseforge {
accessToken = providers.environmentVariable("CURSEFORGE_API_KEY")