Skip to content

Commit 96f0aaf

Browse files
update codesign step
1 parent 0519b32 commit 96f0aaf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
- name: Build binary
102102
run: bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=${{ matrix.target }} --outfile ${{ matrix.binary }}
103103

104+
- name: Ad-hoc sign macOS binary
105+
if: runner.os == 'macOS'
106+
run: codesign -s - ${{ matrix.binary }}
107+
104108
- name: Prepare npm package
105109
run: cp ${{ matrix.binary }} packages/${{ matrix.npm-pkg }}/
106110

@@ -149,6 +153,10 @@ jobs:
149153
- name: Build binary
150154
run: bun build packages/database-shell/src/cli.ts --compile --minify --sourcemap --target=${{ matrix.target }} --outfile ${{ matrix.binary }}
151155

156+
- name: Ad-hoc sign macOS binary
157+
if: runner.os == 'macOS'
158+
run: codesign -s - ${{ matrix.binary }}
159+
152160
- name: Prepare npm package
153161
run: cp ${{ matrix.binary }} packages/${{ matrix.npm-pkg }}/
154162

0 commit comments

Comments
 (0)