Skip to content

Treat an empty version input as not set - #132

Merged
threeal merged 1 commit into
mainfrom
treat-empty-version-as-unset
Oct 30, 2026
Merged

threeal merged 1 commit into
mainfrom
treat-empty-version-as-unset

Conversation

@threeal

@threeal threeal commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Closes #131

  • An empty version input, including whitespace that trims to empty, no longer fails with "Version input must not be empty". The action logs "No version specified, use latest" and installs the latest release.
  • action.yml no longer sets default: latest. A missing key and an empty value now both reach the action as "" and take that one path. The input description stays the same, since the fallback is the action's behavior, not part of what the input is.
  • The README drops the Default column from the Inputs table and explains in a sentence that an unset or empty version installs the latest release.
  • An explicit latest is still supported.

CI isn't changed. The existing step with no version input already runs the not-set path through the same latest-release lookup.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
@threeal threeal self-assigned this Oct 30, 2026
@threeal threeal added the enhancement New feature or request label Oct 30, 2026
@threeal threeal added this to the Version 1.1.0 milestone Oct 30, 2026
@threeal threeal added the documentation Improvements or additions to documentation label Oct 30, 2026
@threeal
threeal merged commit b280908 into main Oct 30, 2026
7 checks passed
@threeal
threeal deleted the treat-empty-version-as-unset branch October 30, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Treat an empty version input as not set

1 participant