# setup-helmfile **Repository Path**: mirrors_samcday/setup-helmfile ## Basic Information - **Project Name**: setup-helmfile - **Description**: Setup helmfile action - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-28 - **Last Updated**: 2026-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README @mamezou-tech/setup-helmfile ============================ ![CI](https://github.com/mamezou-tech/setup-helmfile/workflows/CI/badge.svg) Setup [helmfile](https://github.com/roboll/helmfile) with Helm and kubectl in GitHub Actions workflow. > - This action works on Linux. > - The AWS version of kubectl will be installed. > - Following Helm plugins will be installed > - helm-diff > - helm-s3 ```yaml name: CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Setup helmfile uses: mamezou-tech/setup-helmfile@v0.7.0 - name: Test run: | helmfile --version helm version kubectl version --client ``` ## Optional Inputs - `helmfile-version` : helmfile version. Default `"v0.126.2"`. - `helm-version` : Helm version. Default `"v3.3.1"` - `kubectl-version` : kubectl version. Default `1.16.13` - `kubectl-release-date` : kubectl release date. Default `2020-08-04` - `install-kubectl` : Install kubectl. Default `yes` - `install-helm` : Install Helm. Default `yes` - `install-helm-plugins` : Install Helm plugins. Default `yes` - `install-wrapper` : Install Helmfile wrapper. Default `yes` > See "[Installing kubectl - Amazon EKS](https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html)" for information how to specify the kubectl version. Example with optional inputs ```yaml name: CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - name: Setup helmfile uses: mamezou-tech/setup-helmfile@v0.7.0 with: helmfile-version: "v0.135.0" ``` If you are not particular about the version of kubectl / Helm and you can use the versions pre-installed on GitHub Actions runner, you can specify inputs not to install them. > Notice: Helm plugins will be installed in this case. ```yaml jobs: build: runs-on: ubuntu-latest steps: - name: Setup helmfile uses: mamezou-tech/setup-helmfile@v0.7.0 with: install-kubectl: no install-helm: no ``` If you don't want helm plugins installed, specify `no` for `install-helm-plugins`. ```yaml jobs: build: runs-on: ubuntu-latest steps: - name: Setup helmfile uses: mamezou-tech/setup-helmfile@v0.7.0 with: install-helm-plugins: no ``` The wrapper script installation can be skipped. ```yaml steps: - uses: mamezou-tech/setup-helmfile@v0.7.0 with: install-wrapper: false ``` Subsequent steps can access outputs when the wrapper script is installed. ```yaml steps: - uses: mamezou-tech/setup-helmfile@v0.7.0 - id: diff run: helmfile --no-color diff - run: echo ${{ steps.diff.outputs.stdout }} - run: echo ${{ steps.diff.outputs.stderr }} - run: echo ${{ steps.diff.outputs.exitcode }} ``` ### Build action (for maintainer) ``` $ npm install $ npm run package ``` > `dist/index.js` shoud be included in commit.