mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-22 22:29:30 +00:00
Fix the check for publishing credentials
This commit is contained in:
@@ -33,7 +33,7 @@ publishing {
|
|||||||
// `githubPackagesUsername` and `githubPackagesPassword` Gradle properties or alternatively
|
// `githubPackagesUsername` and `githubPackagesPassword` Gradle properties or alternatively
|
||||||
// as `ORG_GRADLE_PROJECT_githubPackagesUsername` and `ORG_GRADLE_PROJECT_githubPackagesPassword`
|
// as `ORG_GRADLE_PROJECT_githubPackagesUsername` and `ORG_GRADLE_PROJECT_githubPackagesPassword`
|
||||||
// environment variables
|
// environment variables
|
||||||
if (!providers.gradleProperty("githubPackagesUsername").isPresent) {
|
if (providers.gradleProperty("githubPackagesUsername").isPresent) {
|
||||||
credentials(PasswordCredentials::class)
|
credentials(PasswordCredentials::class)
|
||||||
} else {
|
} else {
|
||||||
// Assune we're in CI and try getting the GH env vars
|
// Assune we're in CI and try getting the GH env vars
|
||||||
|
|||||||
Reference in New Issue
Block a user