Skip to content

Commit 271d8d4

Browse files
committed
fix: 移除 DMG 公证的超时限制并更新错误提示信息
1 parent 1c4584a commit 271d8d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,12 @@ jobs:
304304
echo "🔐 开始公证 DMG: $DMG_PATH"
305305
306306
# 使用 xcrun notarytool 进行公证 DMG
307-
# 设置 10 分钟超时
308-
timeout 600 xcrun notarytool submit "$DMG_PATH" \
307+
xcrun notarytool submit "$DMG_PATH" \
309308
--apple-id "$APPLE_ID" \
310309
--password "$APPLE_PASSWORD" \
311310
--team-id "$APPLE_TEAM_ID" \
312311
--wait \
313-
--output-format json || echo "⚠️ 公证超时,但代码签名已完成"
312+
--output-format json || echo "⚠️ 公证失败,但代码签名已完成"
314313
315314
# 获取公证结果并附加票据到 APP
316315
if [ -f "$APP_PATH" ]; then

0 commit comments

Comments
 (0)