Skip to content

Commit 6f216dc

Browse files
committed
Availability to use latest versions of helm and helmfile
1 parent d2eceb2 commit 6f216dc

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ branding:
66
color: blue
77
inputs:
88
helm-version:
9-
default: 3.11.2
9+
default: 3.18.2
1010
description: Helm version
1111
required: false
1212
helm:
@@ -26,7 +26,7 @@ inputs:
2626
description: Path to the file containing Helm repository names and URLs
2727
required: false
2828
helmfile-version:
29-
default: 0.144.0
29+
default: 1.1.2
3030
description: Helmfile version
3131
required: false
3232
helmfile:

src/index.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4299,6 +4299,13 @@ module.exports = /******/ (function (modules, runtime) {
42994299
)
43004300
)
43014301
return [3, 5];
4302+
if (
4303+
url.endsWith("_amd64.tar.gz")
4304+
)
4305+
return [
4306+
4,
4307+
(0, exec_1.exec)("tar", ["-xzf", downloadPath]),
4308+
];
43024309
return [
43034310
4,
43044311
(0, exec_1.exec)("tar", ["-xzf", downloadPath, "--strip=1"]),
@@ -7662,9 +7669,10 @@ PERFORMANCE OF THIS SOFTWARE.
76627669
.concat(helmVersion, "-")
76637670
.concat(platform, "-amd64.tar.gz");
76647671
helmfileUrl =
7665-
"https://github.com/roboll/helmfile/releases/download/v"
7672+
"https://github.com/helmfile/helmfile/releases/download/v"
76667673
.concat(helmfileVersion, "/helmfile_")
7667-
.concat(platform, "_amd64");
7674+
.concat(helmfileVersion, "_")
7675+
.concat(platform, "_amd64.tar.gz");
76687676
repositoryConfigPath = (0, path_1.join)(
76697677
workspaceDir,
76707678
repositoryConfig

0 commit comments

Comments
 (0)