How should you version and release a custom action?
IntermediateConceptCustom Actions & Reusable Workflows
Answer
Semantic version tags (v1.2.3) plus a moving major tag (v1) that you force-update to the latest compatible release, so consumers can choose @v1 (convenience) or @<sha> (security). Publish via GitHub Releases, optionally to the Marketplace (requires action.yml at repo root and a unique name). With immutable releases enabled, a release's tag and assets cannot be changed after publishing, which protects consumers pinning to version tags. Keep a changelog and never move a full semver tag.
More on Custom Actions & Reusable Workflows
What are the three kinds of custom action and how do you choose?BeginnerWrite a minimal composite action that installs Node and dependencies with caching.IntermediateWhat can a composite action not do compared to a job?IntermediateHow do you pass outputs out of a composite action?IntermediateWhat does `action.yml` contain for a JavaScript action?IntermediateWhy must a JavaScript action commit its `dist/` or `node_modules`?Intermediate