CI: add ad-hoc signing for macOS builds

This commit is contained in:
SuperKali
2025-12-14 13:23:02 +01:00
parent b48575faa5
commit eea33f419e

View File

@@ -176,6 +176,14 @@ jobs:
- name: Build Tauri app
run: cargo tauri build --bundles dmg,app
- name: Ad-hoc sign the app
run: |
APP_PATH=$(find src-tauri/target/release/bundle/macos -name "*.app" -type d | head -1)
if [ -n "$APP_PATH" ]; then
echo "Ad-hoc signing: $APP_PATH"
codesign --force --deep --sign - "$APP_PATH"
fi
- name: Upload artifacts
uses: actions/upload-artifact@v4
with: