mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-07 21:16:57 +00:00
Added check for latest
This commit is contained in:
parent
b3efc63e7e
commit
969d177f06
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ const helmAllReleasesUrl = "https://api.github.com/repos/helm/helm/releases";
|
|||
export async function run() {
|
||||
let version = core.getInput("version", { required: true });
|
||||
|
||||
if(version[0] !== "v"){
|
||||
if(version !== "latest" && version[0] !== "v"){
|
||||
version = getValidVersion(version);
|
||||
}
|
||||
if (version.toLocaleLowerCase() === "latest") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue