settings for token

This commit is contained in:
bvn13 2022-01-29 11:18:55 +03:00
parent 22c0f7effe
commit 63689f61e8

View File

@ -40,8 +40,8 @@ publishing {
name = "GitHubPackages" name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/bvn13/sewy") url = uri("https://maven.pkg.github.com/bvn13/sewy")
credentials { credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME") username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USER")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
} }
} }
} }