Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
bun-version: "1.3.11"

- name: Configure Git
run: |
Expand Down Expand Up @@ -98,12 +98,16 @@ jobs:
matrix:
include:
- os: macos-latest
target: darwin-arm64
artifact: zephyr-macos-arm64
- os: macos-26-intel
- os: macos-latest
target: darwin-x64
artifact: zephyr-macos-x64
- os: ubuntu-latest
target: linux-x64
artifact: zephyr-linux-x64
- os: windows-latest
target: windows-x64
artifact: zephyr-windows-x64.exe

steps:
Expand All @@ -118,7 +122,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
bun-version: "1.3.11"

- name: Update version in source
run: |
Expand All @@ -133,11 +137,7 @@ jobs:
run: bun install

- name: Build binary
run: bun build src/index.ts --compile --outfile ${{ matrix.artifact }}

- name: Ad-hoc sign binary
if: runner.os == 'macOS'
run: codesign --force -s - ${{ matrix.artifact }}
run: bun build src/index.ts --compile --target=bun-${{ matrix.target }} --outfile ${{ matrix.artifact }}

- name: Upload to GitHub Release
uses: softprops/action-gh-release@v1
Expand Down
Loading