fix: macOS 构建去掉 --no-codesign;build-bot 失败也回帖结果
- flutter build macos 不支持 --no-codesign(那是 iOS 的选项), 传了会直接报 'Could not find an option named no-codesign' 导致编译失败。 macOS 模板本身用 ad-hoc 签名,CI 无证书也能构建。 - 删除 workflow 里的 GC_NO_CODESIGN 环境变量 - build-bot 新增独立 report job(always): 编译/发布任何一步失败都会回帖,列出各平台结果与日志链接, 不再因为 publish 被跳过而静默
This commit is contained in:
1 parent
ab0cee8b40
commit
936ef8333e
4 files changed
+50
-21
No files matched your search
+1
-1
@@ -59,5 +59,5 @@
|
||||
- `Settings → Actions → General → Workflow permissions` 给 **Read and write**,
|
||||
否则 `gh release` / 评论接口会 403(工作流里已声明 `permissions:`,但组织策略可能覆盖)。
|
||||
- Secrets 不需要额外配置,统一用内置的 `GITHUB_TOKEN`。
|
||||
- macOS 产物是 **未签名** 的(`GC_NO_CODESIGN=1`)。下载后首次打开需右键 →「打开」,
|
||||
- macOS 产物是 **ad-hoc 签名**(无开发者证书)。下载后首次打开需右键 →「打开」,
|
||||
或在「系统设置 → 隐私与安全性」里放行。
|
||||
Reference in new issue
Block a user