Skip to content

Commit ff4efc0

Browse files
committed
.github: notarize gnd binary for macOs
1 parent e15de12 commit ff4efc0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/gnd-binary-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ jobs:
109109
certificate-data: ${{ secrets.APPLE_CERT_DATA }}
110110
certificate-password: ${{ secrets.APPLE_CERT_PASSWORD }}
111111
certificate-id: ${{ secrets.APPLE_TEAM_ID }}
112+
options: --options runtime
113+
114+
- name: Notarize macOS binary
115+
if: startsWith(matrix.runner, 'macos')
116+
uses: lando/notarize-action@v2
117+
with:
118+
product-path: target/${{ matrix.target }}/release/gnd
119+
appstore-connect-username: ${{ secrets.NOTARIZATION_USERNAME }}
120+
appstore-connect-password: ${{ secrets.NOTARIZATION_PASSWORD }}
121+
appstore-connect-team-id: ${{ secrets.APPLE_TEAM_ID }}
112122

113123
- name: Prepare binary (Unix)
114124
if: ${{ !startsWith(matrix.runner, 'windows') }}

0 commit comments

Comments
 (0)