Skip to content

Commit e15de12

Browse files
committed
.github: Codesign gnd binary for macOs
1 parent 2ab25eb commit e15de12

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ jobs:
101101
LIBPQ_DIR: ${{ format('{0}/vcpkg/installed/x64-windows', github.workspace) }}
102102
VCPKGRS_DYNAMIC: 1
103103

104+
- name: Sign macOS binary
105+
if: startsWith(matrix.runner, 'macos')
106+
uses: lando/code-sign-action@v3
107+
with:
108+
file: target/${{ matrix.target }}/release/gnd
109+
certificate-data: ${{ secrets.APPLE_CERT_DATA }}
110+
certificate-password: ${{ secrets.APPLE_CERT_PASSWORD }}
111+
certificate-id: ${{ secrets.APPLE_TEAM_ID }}
112+
104113
- name: Prepare binary (Unix)
105114
if: ${{ !startsWith(matrix.runner, 'windows') }}
106115
run: |

0 commit comments

Comments
 (0)