From bc9902619ba918d0e5f732717b6eab6ff4a80b78 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Sat, 25 Jan 2025 13:23:28 +0100 Subject: [PATCH] Fail CI when codesign doesn't work --- .github/actions/sign-extension/macos/sign.sh | 2 +- .github/actions/sign-godot-project/macos/sign.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/sign-extension/macos/sign.sh b/.github/actions/sign-extension/macos/sign.sh index 098b2d9..c35de10 100755 --- a/.github/actions/sign-extension/macos/sign.sh +++ b/.github/actions/sign-extension/macos/sign.sh @@ -41,7 +41,7 @@ codesign --verify "${framework_path}" echo "Archiving and notarizing the signed framework..." ditto -ck "${framework_path}" "${archive_path}" -xcrun notarytool submit "${archive_path}" --apple-id ${apple_dev_id} --team-id ${apple_dev_team_id} --password ${apple_dev_password} --wait +xcrun notarytool submit "${archive_path}" --apple-id ${apple_dev_id} --team-id ${apple_dev_team_id} --password ${apple_dev_password} --wait || { exit 1; } echo "Cleaning up..." diff --git a/.github/actions/sign-godot-project/macos/sign.sh b/.github/actions/sign-godot-project/macos/sign.sh index ab71705..82d18c9 100755 --- a/.github/actions/sign-godot-project/macos/sign.sh +++ b/.github/actions/sign-godot-project/macos/sign.sh @@ -41,7 +41,7 @@ codesign --verify "${app_path}" echo "Archiving and notarizing the signed app..." ditto -ck --keepParent "${app_path}" "${archive_path}" -xcrun notarytool submit "${archive_path}" --apple-id ${apple_dev_id} --team-id ${apple_dev_team_id} --password ${apple_dev_password} --wait +xcrun notarytool submit "${archive_path}" --apple-id ${apple_dev_id} --team-id ${apple_dev_team_id} --password ${apple_dev_password} --wait || { exit 1; } echo "Stapling the notarization ticket to the signed app..."