mirror of
https://github.com/GayPizzaSpecifications/concrete.git
synced 2025-08-05 14:11:34 +00:00
Attempt to fix GitHub packages token.
This commit is contained in:
@ -64,12 +64,17 @@ publishing {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
||||
var githubPackagesToken = System.getenv("GITHUB_TOKEN")
|
||||
if (githubPackagesToken == null) {
|
||||
githubPackagesToken = project.findProperty("github.token") as String?
|
||||
}
|
||||
|
||||
maven {
|
||||
name = "GitHubPackages"
|
||||
url = uri("https://maven.pkg.github.com/gaypizzaspecifications/concrete")
|
||||
credentials {
|
||||
username = project.findProperty("github.username") as String? ?: "unknown"
|
||||
password = project.findProperty("github.token") as String? ?: System.getenv("GITHUB_TOKEN")
|
||||
username = project.findProperty("github.username") as String? ?: "gaypizzaspecifications"
|
||||
password = githubPackagesToken
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user