Skip to content

Commit 37e96a6

Browse files
committed
fix: add ldid signing for macos in GHA workflow
1 parent 2069dc7 commit 37e96a6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build-mainnet.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,18 @@ jobs:
3434
- name: Build TypeScript
3535
run: npm run mainnet:build:src
3636

37+
- name: Install ldid
38+
run: |
39+
arch=$(uname -m)
40+
curl -sL "https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_linux_${arch}" -o /usr/local/bin/ldid
41+
chmod +x /usr/local/bin/ldid
42+
3743
- name: Build binaries
3844
run: npx pkg out/src/main-mainnet.js -t ${{ matrix.targets }} --output bin/edge
3945

46+
- name: Sign macOS binary
47+
run: ldid -S bin/edge-macos
48+
4049
- name: Rename binaries
4150
run: |
4251
cd bin

0 commit comments

Comments
 (0)