12
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-06-28 17:40:45 +00:00
Github Action for installing Helm
Find a file
somaz 017211e1b1
Add version-file input to read the Helm version from a .tool-versions file (#281)
* feat: add version-file input to read helm version from .tool-versions

* feat: validate semver shape of helm version from .tool-versions
2026-06-23 13:07:39 -07:00
.github Bump actions/checkout in /.github/workflows in the actions group (#286) 2026-06-22 13:55:11 -07:00
.husky Add pre-commit hook (#197) 2025-07-03 09:53:58 +12:00
src Add version-file input to read the Helm version from a .tool-versions file (#281) 2026-06-23 13:07:39 -07:00
.gitignore Updated workflows, codeowner, .gitignore (#65) 2022-02-04 13:04:30 -05:00
.prettierignore Vidya reddy prettier (#75) 2022-06-27 18:27:44 -04:00
.prettierrc.json Vidya reddy prettier (#75) 2022-06-27 18:27:44 -04:00
action.yml Add version-file input to read the Helm version from a .tool-versions file (#281) 2026-06-23 13:07:39 -07:00
CHANGELOG.md Bump version to 5.0.1 and update CHANGELOG with recent changes (#287) 2026-06-23 13:05:33 -07:00
CODE_OF_CONDUCT.md Fix types, and update node version. (#181) 2025-05-13 15:19:00 -04:00
CONTRIBUTING.md Vidya reddy prettier (#75) 2022-06-27 18:27:44 -04:00
LICENSE Initial commit 2019-09-23 02:03:33 -07:00
package-lock.json Bump version to 5.0.1 and update CHANGELOG with recent changes (#287) 2026-06-23 13:05:33 -07:00
package.json Bump version to 5.0.1 and update CHANGELOG with recent changes (#287) 2026-06-23 13:05:33 -07:00
README.md Add version-file input to read the Helm version from a .tool-versions file (#281) 2026-06-23 13:07:39 -07:00
SECURITY.md Fix types, and update node version. (#181) 2025-05-13 15:19:00 -04:00
tsconfig.json Migrate to ESM with esbuild/vitest and upgrade to node24 (#260) 2026-03-24 10:46:19 -07:00
vitest.config.ts Migrate to ESM with esbuild/vitest and upgrade to node24 (#260) 2026-03-24 10:46:19 -07:00

Setup Helm

Install a specific version of helm binary on the runner.

Example

Acceptable values are latest or any semantic version string like v3.5.0 Use this action in workflow to define which version of helm will be used. v2+ of this action only support Helm3.

- uses: azure/setup-helm@v5
  with:
     version: '<version>' # default is latest (stable)
  id: install

Alternatively, the version can be read from a .tool-versions file (the format used by asdf and mise) via the version-file input:

- uses: azure/setup-helm@v5.0.0
  with:
     version-file: .tool-versions
  id: install

The action reads the version declared for the helm tool, for example:

helm 3.18.4

If both version and version-file are set, an explicitly requested version takes precedence and version-file is ignored (a warning is emitted). Because version defaults to latest, version-file is only ignored when you set version to a specific value other than latest; if version is left at its default, the version from version-file is used.

Note

If something goes wrong with fetching the latest version the action will use the hardcoded default version (currently v3.18.4). If you rely on a certain version higher than the default, you should explicitly use that version instead of latest.

The cached helm binary path is prepended to the PATH environment variable as well as stored in the helm-path output variable. Refer to the action metadata file for details about all the inputs https://github.com/Azure/setup-helm/blob/master/action.yml

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Support

setup-helm is an open source project that is not covered by the Microsoft Azure support policy. Please search open issues here, and if your issue isn't already represented please open a new one. The project maintainers will respond to the best of their abilities.