[macos-runner] Unlock login keychain explicitly before fastlane signing steps

act_runner's launchd daemon now runs as loverde_vm_mac (UserName set),
but its background session doesn't inherit the unlock state from an
interactive SSH session - the login keychain is still locked when
fastlane/sigh looks for signing identities, so none are found. Unlock it
explicitly at the start of each signing job instead.
This commit is contained in:
Daniel Arantes Loverde
2026-07-30 18:21:54 -03:00
parent d9c2035807
commit 54728cdc71
2 changed files with 6 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ jobs:
} }
EOF EOF
- name: Unlock keychain
run: security unlock-keychain -p "${{ secrets.MAC_KEYCHAIN_PASSWORD }}" ~/Library/Keychains/login.keychain-db
- name: fastlane beta - name: fastlane beta
run: | run: |
cd Darwin cd Darwin

View File

@@ -54,6 +54,9 @@ jobs:
} }
EOF EOF
- name: Unlock keychain
run: security unlock-keychain -p "${{ secrets.MAC_KEYCHAIN_PASSWORD }}" ~/Library/Keychains/login.keychain-db
- name: fastlane release - name: fastlane release
run: | run: |
cd Darwin cd Darwin