Skip to content

Commit

Permalink
Update build.gradle.kts
Browse files Browse the repository at this point in the history
Signed-off-by: Alpha <[email protected]>
  • Loading branch information
AlphaKR93 authored Nov 5, 2024
1 parent 2986abe commit 62f90e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ allprojects {
name = "githubPackage"

credentials {
username = providers.systemProperty("ghName").get()
password = providers.systemProperty("ghToken").get()
username = providers.systemProperty("ghName").orElse(providers.gradleProperty("ghName")).getOrElse(System.getenv("GITHUB_NAME"))
password = providers.systemProperty("ghToken").orElse(providers.gradleProperty("ghToken")).getOrElse(System.getenv("GITHUB_TOKEN"))
}
}
}
Expand Down

0 comments on commit 62f90e3

Please sign in to comment.