File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff 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 \
You can’t perform that action at this time.
0 commit comments