mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
I am a fool, add publication.
This commit is contained in:
@@ -58,8 +58,6 @@ allprojects {
|
||||
val githubToken = System.getenv("GITHUB_TOKEN")
|
||||
|
||||
repositories {
|
||||
logger.info("GITHUB_ACTOR: ${githubActor != null}")
|
||||
logger.info("GITHUB_TOKEN: ${githubToken != null}")
|
||||
if (githubActor != null && githubToken != null) {
|
||||
maven {
|
||||
name = "GitHubPackages"
|
||||
@@ -71,6 +69,12 @@ allprojects {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publications {
|
||||
create<MavenPublication>("maven") {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<RunServer> {
|
||||
|
||||
Reference in New Issue
Block a user