9 Commits

Author SHA1 Message Date
Alexis Couvreur 5cbd56a156 feat: add version-file input to read kubectl version from .tool-versions (#261)
* feat: add version-file input to read kubectl version from .tool-versions

Adds a `version-file` input that reads the kubectl version from an
asdf/mise `.tool-versions` file. A specific `version` input takes
precedence (with a warning); the default `latest` lets the file decide.
Values from the file go through the same latest / major.minor /
major.minor.patch resolution and validation as the `version` input.
The file must be a regular, non-symlinked file of at most 64 KiB.

Closes #259

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: address version-file review feedback

- Report a missing version-file with a clear error instead of a raw ENOENT
- Document that the first kubectl entry wins, and the regular-file / 64 KiB limits
- Assert that an explicit version skips reading the version-file entirely

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 12:38:30 -08:00
benjamin 1dc2539e3a feat: add downloadBaseURL, checksum, and downloadAuthToken inputs (closes Azure#206) (#268) 2026-07-29 16:03:04 -04:00
Marten Kreienbrock 1dbc167e74 Update Node version from 20 to 24 in action.yml (#233)
To mitigate recent warnings in Github actions using azure/setup-kubectl regarding the EOL of node20
2026-03-12 13:34:30 -04:00
Matt Cavanagh 44bac4685f Description was inaccurate, should have v prefix (#195) 2025-10-08 09:59:30 -04:00
Per Karlsson 796733b6bf Bump node to version 20 (#90) 2024-01-26 16:23:31 -05:00
Vidya Reddy 2eb2a370ff Vidya reddy prettier (#58)
* upgraded to Node16

* Enforce Prettier

* code fix

* jest version change and prettify code

Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com>
2022-06-27 15:31:07 -07:00
Vidya 09392910a9 upgraded to Node16 (#53)
Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com>
2022-06-16 14:48:20 -04:00
David Gamero 07e8ba6f62 switch to ncc files (#44) 2022-02-10 15:52:09 -05:00
Deepak Sattiraju 39fc719fd9 Port from k8s-actions 2019-09-10 15:40:21 +05:30