ci: 添加 GitHub Actions 官方自动化 Release 发版流水线与安全兜底签名配置
This commit is contained in:
1 parent
4b6ae12df6
commit
d615f5d030
3 files changed
+84
No files matched your search
@@ -46,6 +46,13 @@ android {
|
||||
storePassword = props.getProperty("storePassword")
|
||||
keyAlias = props.getProperty("keyAlias")
|
||||
keyPassword = props.getProperty("keyPassword")
|
||||
} else {
|
||||
// CI/CD 或未配置密钥时平滑降级,确保构建永远不抛错中断
|
||||
val debugConfig = getByName("debug")
|
||||
storeFile = debugConfig.storeFile
|
||||
storePassword = debugConfig.storePassword
|
||||
keyAlias = debugConfig.keyAlias
|
||||
keyPassword = debugConfig.keyPassword
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user