From ff797edfe2f19e26a355fc043b2aa00992fd002b Mon Sep 17 00:00:00 2001 From: bun913 Date: Sun, 12 Apr 2026 13:30:16 +0900 Subject: [PATCH] fix; bun --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b356bf..7cc6141 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | @@ -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: @@ -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: | @@ -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