Skip to content

Commit

Permalink
Update installed package name (#27)
Browse files Browse the repository at this point in the history
This PR changes the package name from `snowflake-cli-labs` to
`snowflake-cli`.

Two actions (`list-snowflake-account-connections.yml` and
`set-unboud-pipx-variable-test.yml`) were pinned to an old version of
snowcli and the runs were failing. I unpinned the package versions in
the workflows. If there's a need for testing older versions (the effect
of `CLI_VERSION`) -- maybe it can be done through a dedicated workflow?

[Action runs
pass](https://github.com/sfc-gh-vtimofeenko/snowflake-cli-action/actions).

Fixes #26
  • Loading branch information
sfc-gh-vtimofeenko authored Oct 9, 2024
1 parent f992806 commit 18d88e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/list-snowflake-account-connections.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ jobs:
uses: ./
id: setup_snowcli
with:
cli-version: '2.1.0'
default-config-file-path: '.github/workflows/tests-files/config.toml'

- name: Test connection
shell: bash
run: |
snow --version
snow connection list
snow connection list
3 changes: 1 addition & 2 deletions .github/workflows/set-unboud-pipx-variable-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ jobs:
uses: ./
id: setup_snowcli
with:
cli-version: '2.1.0'
default-config-file-path: '.github/workflows/tests-files/config.toml'

- name: Test connection
shell: bash
run: |
snow --version
snow connection list
snow connection list
4 changes: 2 additions & 2 deletions scripts/install-snowcli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ mkdir -p "${PIPX_BIN_DIR}"


if [ "$CLI_VERSION" == "latest" ]; then
pipx install snowflake-cli-labs
pipx install snowflake-cli
else
pipx install snowflake-cli-labs=="$CLI_VERSION"
pipx install snowflake-cli=="$CLI_VERSION"
fi


Expand Down

0 comments on commit 18d88e5

Please sign in to comment.