feat(workflows): add macos-cask-release reusable workflow - #70
Merged
Merged
Conversation
5 tasks
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.
Summary
Adds a new reusable workflow,
macos-cask-release.yml, that plays the same role for macOS/Homebrew apps thatdocker-release.ymlplays for Docker services in the existing release train: given a channel/version already computed byrelease-train-detect, it builds the app via the caller's own packaging script, tags, publishes a GitHub Release with the built asset, and — on the stable channel only — renders a Homebrew Cask from the caller's template and pushes it to a tap repository.release-train-detect); this workflow only executes once a release is already decided.{{VERSION}}/{{SHA256}}-templated file the caller owns, pushed directly to the tap (no PR gate there — consistent withdocker-release.yml's "push directly" philosophy for the release step itself).HOMEBREW_TAP_TOKENis missing on a stable run, before spending any build minutes.First consumer:
sisques-labs/portero(companion PR, currently blocked on this one merging since it references@main).Test plan
actionlint .github/workflows/macos-cask-release.yml— cleanopenspec/changes/homebrew-release-train/design.md's Interfaces/Contracts section in the portero repo