diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a5f1681e..821960a64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,11 @@ on: CERTIFICATES_P12_PASS: required: true APPLE_API_KEY_P8: - required: false + required: true APPLE_API_KEY_ID: - required: false + required: true APPLE_API_ISSUER_ID: - required: false + required: true workflow_dispatch: inputs: tag: @@ -628,8 +628,8 @@ jobs: set -euo pipefail if [ -z "$APPLE_API_KEY_P8" ] || [ -z "$APPLE_API_KEY_ID" ] || [ -z "$APPLE_API_ISSUER_ID" ]; then - echo "::warning title=Not notarized::App Store Connect credentials are unset, so this release ships signed but un-notarized macOS binaries. Gatekeeper will block them for anyone who downloads an archive through a browser." - exit 0 + echo "::error title=Notarization credentials missing::App Store Connect credentials are required for macOS releases." + exit 1 fi # Outside the workspace, so no later step can sweep the key into an