mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
build(macos): sign with a stable self-signed identity when available
Ad hoc signatures change on every build, so macOS asks for the keychain password again after each rebuild or update. A self-signed certificate keeps the designated requirement stable; Gatekeeper behavior is unchanged.
This commit is contained in:
1 parent
b825030f08
commit
f3c05dfbe4
6 files changed
+158
-12
No files matched your search
@@ -450,6 +450,16 @@ jobs:
|
||||
- name: Get Flutter dependencies
|
||||
run: flutter pub get
|
||||
|
||||
# A stable self-signed identity keeps keychain access across updates.
|
||||
# Without the secrets the build stays ad hoc signed.
|
||||
- name: Set up the signing identity
|
||||
env:
|
||||
MACOS_SIGNING_P12_BASE64: ${{ secrets.MACOS_SIGNING_P12_BASE64 }}
|
||||
MACOS_SIGNING_P12_PASSWORD: ${{ secrets.MACOS_SIGNING_P12_PASSWORD }}
|
||||
run: |
|
||||
identity="$(bash scripts/setup_macos_signing.sh)"
|
||||
echo "MORNYE_CODE_SIGN_IDENTITY=$identity" >> "$GITHUB_ENV"
|
||||
|
||||
# The Xcode "Embed Rust Backend" and "Embed FFmpeg" phases embed the
|
||||
# library and the FFmpeg tools built above.
|
||||
- name: Build macOS app
|
||||
|
||||
Reference in new issue
Block a user