Skip to content

Commit 89eb38e

Browse files
committed
Update release.yml with debug logs
1 parent fe3bec2 commit 89eb38e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,17 @@ jobs:
3939
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}
4040
run: |
4141
echo "$SIGNING_CERTIFICATE" | base64 --decode > certificate.p12
42-
security import certificate.p12 -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign
42+
# Import certificate into the login keychain explicitly
43+
security import certificate.p12 -k ~/Library/Keychains/login.keychain -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign
44+
45+
- name: List Code Signing Identities
46+
if: matrix.os == 'macos-latest'
47+
run: security find-identity -v -p codesigning
4348

4449
- name: Code Sign Application
4550
if: matrix.os == 'macos-latest'
4651
run: |
52+
# Use the exact certificate identity name or hash as output from the previous step
4753
codesign --sign "3rd Party Mac Developer Application: Your Name (TeamID)" \
4854
--deep --force --timestamp --options runtime \
4955
--entitlements build/entitlements.mac.plist \

0 commit comments

Comments
 (0)