Skip to content

Commit

Permalink
Update cli-version default value to be more meaningful (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jvasquezrojas authored Apr 9, 2024
1 parent 55cee1a commit 05a9408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
cli-version:
description: 'Snowflake CLI version'
required: false
default: ''
default: 'latest'

default-config-file-path:
required: false
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-snowcli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05a9408

Please sign in to comment.