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"
url = uri("https://maven.pkg.github.com/bvn13/sewy")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USER")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
}