Skip to content

Availability to use latest versions of helm and helmfile #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
color: blue
inputs:
helm-version:
default: 3.11.2
default: 3.18.2
description: Helm version
required: false
helm:
Expand All @@ -26,7 +26,7 @@ inputs:
description: Path to the file containing Helm repository names and URLs
required: false
helmfile-version:
default: 0.144.0
default: 1.1.2
description: Helmfile version
required: false
helmfile:
Expand Down
12 changes: 10 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4299,6 +4299,13 @@ module.exports = /******/ (function (modules, runtime) {
)
)
return [3, 5];
if (
url.endsWith("_amd64.tar.gz")
)
return [
4,
(0, exec_1.exec)("tar", ["-xzf", downloadPath]),
];
return [
4,
(0, exec_1.exec)("tar", ["-xzf", downloadPath, "--strip=1"]),
Expand Down Expand Up @@ -7662,9 +7669,10 @@ PERFORMANCE OF THIS SOFTWARE.
.concat(helmVersion, "-")
.concat(platform, "-amd64.tar.gz");
helmfileUrl =
"https://github.com/roboll/helmfile/releases/download/v"
"https://github.com/helmfile/helmfile/releases/download/v"
.concat(helmfileVersion, "/helmfile_")
.concat(platform, "_amd64");
.concat(helmfileVersion, "_")
.concat(platform, "_amd64.tar.gz");
repositoryConfigPath = (0, path_1.join)(
workspaceDir,
repositoryConfig
Expand Down