From 75b9d03de2b197ed755a0f97ce8a1a47698b6801 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Wed, 11 Nov 2026 10:33:42 +0000 Subject: [PATCH 1/2] fix(release): create dist before copying the CLI binary The CLI packaging step copied into dist/ before anything created it, so every release build failed on a clean checkout (linux, arm64, windows). The server step creates dist/ only later, so the first copy had nothing to write into. Co-Authored-By: Claude Haiku 5.5 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b7f43f..4e2839e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,7 @@ jobs: # Raw per-target binary, named by Rust target triple: code-cli-[.exe] src="target/${{ matrix.target }}/release/code${{ matrix.ext }}" asset="code-cli-${{ matrix.target }}${{ matrix.ext }}" + mkdir -p dist cp "${src}" "dist/${asset}" shasum -a 256 "dist/${asset}" > "dist/${asset}.sha256" From 9f324ae9839b3ebb4c41ab5dd2ad0290e257698c Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Wed, 11 Nov 2026 10:33:59 +0000 Subject: [PATCH 2/2] fix(release): build macOS x64 on macos-14 (macos-13 runners are retired) The macos-13 job stays queued, so the release never completes. Cross-compile x86_64 on the arm64 macos-14 runner instead. Co-Authored-By: Claude Haiku 5.5 --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e2839e..c1365ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,8 +35,10 @@ jobs: - name: macos-arm64 os: macos-14 target: aarch64-apple-darwin + # macos-13 (Intel) runners are retired and stay queued. This builds x86_64 by + # cross-compiling on the arm64 macos-14 runner; the target is added above. - name: macos-x64 - os: macos-13 + os: macos-14 target: x86_64-apple-darwin - name: windows-x64 os: windows-2022