Skip to content

Commit 213e5d4

Browse files
authored
fix mac signing cert trust timeout (#30)
1 parent e1144c1 commit 213e5d4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ jobs:
437437
- name: Trust macOS signing certificate
438438
if: matrix.platform == 'mac'
439439
shell: bash
440+
timeout-minutes: 2
440441
env:
441442
CSC_LINK: ${{ secrets.CSC_LINK }}
442443
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
@@ -464,11 +465,11 @@ jobs:
464465
-clcerts \
465466
-out "$cert_pem"
466467
467-
security add-trusted-cert \
468+
sudo security add-trusted-cert \
468469
-d \
469470
-r trustRoot \
470471
-p codeSign \
471-
-k "$HOME/Library/Keychains/login.keychain-db" \
472+
-k /Library/Keychains/System.keychain \
472473
"$cert_pem"
473474
474475
echo "macOS signing certificate trusted for code signing."

0 commit comments

Comments
 (0)