mirror of
https://github.com/armbian/imager.git
synced 2026-01-06 12:31:28 -08:00
CI: add ad-hoc signing for macOS builds
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user