Skip to content

Commit

Permalink
fix publishing task
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Dec 8, 2023
1 parent 1ff042a commit e01d5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ publishMods {
}

def neoOptions = publishOptions {
file = project.provider { project(":neo").tasks.jar }.flatMap { it.archiveFile }
file = project.provider { project(":neoforge").tasks.jar }.flatMap { it.archiveFile }
displayName = "${project.name} NeoForged ${mod_version}+mc${minecraft_version}"
modLoaders.add("neoforge")
}
Expand Down Expand Up @@ -156,7 +156,7 @@ publishMods {
github {
file = project.provider { project(":forge").tasks.jar }.flatMap { it.archiveFile }
additionalFiles.from project.provider { project(":fabric").tasks.remapJar }.flatMap { it.archiveFile }
additionalFiles.from project.provider { project(":neo").tasks.jar }.flatMap { it.archiveFile }
additionalFiles.from project.provider { project(":neoforge").tasks.jar }.flatMap { it.archiveFile }
repository = "${github_repo}"
accessToken = providers.environmentVariable("GITHUB_TOKEN")
commitish = providers.environmentVariable("GITHUB_SHA").orElse("dryRun")
Expand Down

0 comments on commit e01d5c5

Please sign in to comment.