File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -39,19 +39,20 @@ 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
4344
4445 - name : Code Sign Application
4546 if : matrix.os == 'macos-latest'
4647 run : |
47- codesign --sign "3rd Party Mac Developer Application: Your Name (TeamID) " \
48+ codesign --sign "${{ secrets.SIGNING_IDENTITY }} " \
4849 --deep --force --timestamp --options runtime \
4950 --entitlements build/entitlements.mac.plist \
50- "dist/mac/YourAppName .app"
51+ "dist/mac/DHIS2 Downloader .app"
5152
5253 - name : Verify Code Signature
5354 if : matrix.os == 'macos-latest'
54- run : codesign --verify --deep --strict --verbose=2 "dist/mac/YourAppName .app"
55+ run : codesign --verify --deep --strict --verbose=2 "dist/mac/DHIS2 Downloader .app"
5556 # === End of macOS Code Signing Steps ===
5657
5758 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments