Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
Loading