diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b7f43f..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 @@ -82,6 +84,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"