From 05a94084069ecdd1687978a1ace34d26a893620f Mon Sep 17 00:00:00 2001 From: Jorge Arturo Vasquez Rojas Date: Tue, 9 Apr 2024 10:15:47 -0500 Subject: [PATCH] Update cli-version default value to be more meaningful (#5) --- action.yml | 2 +- scripts/install-snowcli.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 7206d5d..3fbc54c 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ inputs: cli-version: description: 'Snowflake CLI version' required: false - default: '' + default: 'latest' default-config-file-path: required: false diff --git a/scripts/install-snowcli.sh b/scripts/install-snowcli.sh index c50ef5f..aca16f8 100644 --- a/scripts/install-snowcli.sh +++ b/scripts/install-snowcli.sh @@ -2,7 +2,7 @@ set -euo pipefail -if [ "$CLI_VERSION" == "" ]; then +if [ "$CLI_VERSION" == "latest" ]; then pipx install snowflake-cli-labs else pipx install snowflake-cli-labs==$CLI_VERSION