mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Fix signing
This commit is contained in:
parent
fda24f31b1
commit
18a65fd507
1 changed files with 2 additions and 2 deletions
|
|
@ -20,10 +20,10 @@ plugins {
|
|||
alias(libs.plugins.openapi.generator)
|
||||
}
|
||||
|
||||
val isCI = providers.systemProperty("CI").orElse("false").map { it.toBoolean() }
|
||||
val isCI = providers.environmentVariable("CI").orElse("false").map { it.toBoolean() }
|
||||
val shouldSign =
|
||||
isCI.zip(
|
||||
providers.systemProperty("KEY_ALIAS").orElse("").map { it.isNotBlank() },
|
||||
providers.environmentVariable("KEY_ALIAS").orElse("").map { it.isNotBlank() },
|
||||
) { isCI, hasKey ->
|
||||
isCI && hasKey
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue