Skip to content

Commit 37afe70

Browse files
committed
sign binary
1 parent bc180f8 commit 37afe70

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-ddev.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,18 @@ jobs:
528528
binary=$(echo build/*/release/*/${{ env.APP_NAME }})
529529
chmod +x "$binary"
530530
echo "path=$binary" >> "$GITHUB_OUTPUT"
531+
532+
- name: Sign universal binary
533+
run: >-
534+
rcodesign sign -vv \
535+
--pem-source /tmp/certificate-application.pem \
536+
--pem-source /tmp/private-key-application.pem \
537+
--code-signature-flags runtime \
538+
"${{ steps.binary.outputs.path }}"
539+
540+
- name: Verify signature universal binary
541+
run: >-
542+
codesign --verify --deep --strict --verbose=2 "${{ steps.binary.outputs.path }}"
531543
532544
- name: Build PKG
533545
run: >-

0 commit comments

Comments
 (0)