Compare commits
1 Commits
v4
...
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) {
|
switch (true) {
|
||||||
case operatingSystem == LINUX && arch == ARM64:
|
case operatingSystem == LINUX && arch == ARM64:
|
||||||
return util.format(
|
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
|
version
|
||||||
)
|
)
|
||||||
case operatingSystem == LINUX:
|
case operatingSystem == LINUX:
|
||||||
return util.format(
|
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
|
version
|
||||||
)
|
)
|
||||||
|
|
||||||
case operatingSystem == MAC_OS && arch == ARM64:
|
case operatingSystem == MAC_OS && arch == ARM64:
|
||||||
return util.format(
|
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
|
version
|
||||||
)
|
)
|
||||||
case operatingSystem == MAC_OS:
|
case operatingSystem == MAC_OS:
|
||||||
return util.format(
|
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
|
version
|
||||||
)
|
)
|
||||||
|
|
||||||
case operatingSystem == WINDOWS:
|
case operatingSystem == WINDOWS:
|
||||||
default:
|
default:
|
||||||
return util.format(
|
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
|
version
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user