Skip to content

Commit 3486f92

Browse files
committed
updating build config with credentials
1 parent a07c709 commit 3486f92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ publishing {
127127
maven {
128128
name = "GitHubPackages"
129129
url = uri("https://maven.pkg.github.com/BackendStack21/realtime-pubsub-client-java")
130+
credentials {
131+
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME_GITHUB") ?: System.getenv("GITHUB_ACTOR")
132+
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN_GITHUB") ?: System.getenv("GITHUB_TOKEN")
133+
}
130134
}
131135
}
132136
}

0 commit comments

Comments
 (0)