ci: fix release signing guard
Some checks failed
ci / test (push) Waiting to run
ci / worker (push) Waiting to run
ci / windows (push) Waiting to run
ci / darwin-cgo-build (push) Waiting to run
pages / Deploy docs (push) Has been cancelled

This commit is contained in:
Peter Steinberger 2026-05-06 09:56:55 +01:00
parent 05914139e5
commit cde550f749
No known key found for this signature in database

View File

@ -49,12 +49,16 @@ jobs:
run: git checkout "$RELEASE_TAG"
- name: Import macOS signing certificate
if: ${{ secrets.MACOS_SIGNING_CERT_BASE64 != '' }}
env:
MACOS_SIGNING_CERT_BASE64: ${{ secrets.MACOS_SIGNING_CERT_BASE64 }}
MACOS_SIGNING_CERT_PASSWORD: ${{ secrets.MACOS_SIGNING_CERT_PASSWORD }}
run: |
set -euo pipefail
if [ -z "$MACOS_SIGNING_CERT_BASE64" ]; then
echo "No macOS signing certificate configured; skipping import."
exit 0
fi
KEYCHAIN="build.keychain"
KEYCHAIN_PASSWORD="$(uuidgen)"