Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Commit dc8dd7b

Browse files
committed
ci: use native compilation on macOS runners instead of --target
1 parent 0d65f6d commit dc8dd7b

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949
- name: Install dependencies
5050
run: bun install --frozen-lockfile
5151

52-
- name: Build
53-
run: bun scripts/build.ts --target bun-darwin-x64
52+
- name: Build native
53+
run: |
54+
bun scripts/build.ts
55+
mv dist/bin/openmantis dist/bin/openmantis-darwin-x64
5456
5557
- name: Codesign
5658
run: codesign --force --sign - dist/bin/openmantis-darwin-x64
@@ -73,8 +75,10 @@ jobs:
7375
- name: Install dependencies
7476
run: bun install --frozen-lockfile
7577

76-
- name: Build
77-
run: bun scripts/build.ts --target bun-darwin-arm64
78+
- name: Build native
79+
run: |
80+
bun scripts/build.ts
81+
mv dist/bin/openmantis dist/bin/openmantis-darwin-arm64
7882
7983
- name: Codesign
8084
run: codesign --force --sign - dist/bin/openmantis-darwin-arm64

0 commit comments

Comments
 (0)