Add action input to set download base url (#113)

* feat: add downloadBaseURL action input

* feat: downloadHelm and getHelmDownloadURL added baseURL function argument

* refactor: building the helm download url

* chore: format code

---------

Co-authored-by: Paul Vollmer <mail@paulvollmer.net>
This commit is contained in:
Paul Vollmer
2024-01-02 15:30:48 +01:00
committed by GitHub
parent ac5ee1fca8
commit d336b89352
3 changed files with 70 additions and 46 deletions

View File

@ -8,6 +8,10 @@ inputs:
token:
description: GitHub token. Required only if 'version' == 'latest'
required: false
downloadBaseURL:
description: 'Set the download base URL'
required: false
default: 'https://get.helm.sh'
outputs:
helm-path:
description: 'Path to the cached helm binary'