fix: run release ci inside mac gh runner#241
Merged
sigmachirality merged 1 commit intomainfrom Jan 21, 2026
Merged
Conversation
Contributor
Greptile SummaryThis PR changes the release workflow to run on Key Changes:
Context: Impact:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant GHA as GitHub Actions
participant macOS as macOS Runner
participant Bun as Bun Runtime
participant Pkg as @yao-pkg/pkg
participant GH as GitHub Release
GHA->>macOS: Trigger workflow (macos-latest)
macOS->>macOS: Checkout repository
macOS->>Bun: Setup Bun runtime
macOS->>Bun: Install dependencies
macOS->>Bun: Run lint & type check & tests
macOS->>macOS: Configure Git credentials
macOS->>Bun: Execute release.ts script
Bun->>Bun: Bump version in package.json
Bun->>Bun: Bundle with tsup
loop For each target (linux-x64, linux-arm64, macos-x64, macos-arm64)
Bun->>Pkg: Compile binary for target
Pkg->>Pkg: Generate executable
Note over Pkg: macOS binaries get ad-hoc signature automatically
Pkg->>Bun: Return signed binary
Bun->>Bun: Zip binary
end
Bun->>GH: Create GitHub release with binaries
Bun->>macOS: Commit version bump
macOS->>GHA: Push to main branch
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up to #239 which fixes the following codesign issue by running the build script inside of a macos runner: