Compare commits
1 Commits
df50d879fa
...
09d3bbfd8f
Author | SHA1 | Date | |
---|---|---|---|
09d3bbfd8f |
10
src/run.ts
10
src/run.ts
@@ -112,30 +112,30 @@ export function getHelmDownloadURL(version: string): string {
|
||||
switch (true) {
|
||||
case operatingSystem == LINUX && arch == ARM64:
|
||||
return util.format(
|
||||
'https://get.helm.sh/helm-%s-linux-arm64.zip',
|
||||
'https://gitea.icodef.com/actions/binary-repo/raw/branch/main/helm/helm-%s-linux-arm64.zip',
|
||||
version
|
||||
)
|
||||
case operatingSystem == LINUX:
|
||||
return util.format(
|
||||
'https://get.helm.sh/helm-%s-linux-amd64.zip',
|
||||
'https://gitea.icodef.com/actions/binary-repo/raw/branch/main/helm/helm-%s-linux-amd64.zip',
|
||||
version
|
||||
)
|
||||
|
||||
case operatingSystem == MAC_OS && arch == ARM64:
|
||||
return util.format(
|
||||
'https://get.helm.sh/helm-%s-darwin-arm64.zip',
|
||||
'https://gitea.icodef.com/actions/binary-repo/raw/branch/main/helm/helm-%s-darwin-arm64.zip',
|
||||
version
|
||||
)
|
||||
case operatingSystem == MAC_OS:
|
||||
return util.format(
|
||||
'https://get.helm.sh/helm-%s-darwin-amd64.zip',
|
||||
'https://gitea.icodef.com/actions/binary-repo/raw/branch/main/helm/helm-%s-darwin-amd64.zip',
|
||||
version
|
||||
)
|
||||
|
||||
case operatingSystem == WINDOWS:
|
||||
default:
|
||||
return util.format(
|
||||
'https://get.helm.sh/helm-%s-windows-amd64.zip',
|
||||
'https://gitea.icodef.com/actions/binary-repo/raw/branch/main/helm/helm-%s-windows-amd64.zip',
|
||||
version
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user