diff --git a/microservice-visualization/build.gradle b/microservice-visualization/build.gradle index ab4f338..fee794c 100644 --- a/microservice-visualization/build.gradle +++ b/microservice-visualization/build.gradle @@ -52,7 +52,7 @@ tasks.named('test') { publishing { publications { - mavenJava(MavenPublication) { + gpr(MavenPublication) { // from components.java artifact(tasks.bootJar) } @@ -63,8 +63,8 @@ publishing { name = rootProject.name url = "https://maven.pkg.github.com/rbaul/microservice-visualization" credentials { - username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR") - password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN") + username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") + password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") } } }