From 6741c23f6c85578940c45677796b492915c21908 Mon Sep 17 00:00:00 2001 From: Jorge Vasquez Rojas Date: Thu, 28 Nov 2024 08:44:49 -0600 Subject: [PATCH] Update pipelines --- .github/workflows/compare-versions-pip-and-pipx.yml | 7 +++++-- .../install-snowcli-with-pip-first-then-with-pipx-test.yml | 2 +- .../install-snowcli-with-pipx-first-then-with-pip-test.yml | 2 +- action.yml | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compare-versions-pip-and-pipx.yml b/.github/workflows/compare-versions-pip-and-pipx.yml index 6aab262..63a259c 100644 --- a/.github/workflows/compare-versions-pip-and-pipx.yml +++ b/.github/workflows/compare-versions-pip-and-pipx.yml @@ -32,7 +32,10 @@ jobs: - name: Install Snowflake CLI with pip run: | - python -m pip install snowflake-cli-labs + python -m pip install snowflake-cli + + - name: Store snow version + run: | snow_version=$(snow --version) echo "snow_version_pip=$snow_version" >> $GITHUB_ENV @@ -42,7 +45,7 @@ jobs: with: default-config-file-path: '.github/workflows/tests-files/config.toml' - - name: Test snow installation + - name: Compare pipx and pip versions shell: bash run: | snow_version_pipx=$(snow --version) diff --git a/.github/workflows/install-snowcli-with-pip-first-then-with-pipx-test.yml b/.github/workflows/install-snowcli-with-pip-first-then-with-pipx-test.yml index a0ad794..6b88cca 100644 --- a/.github/workflows/install-snowcli-with-pip-first-then-with-pipx-test.yml +++ b/.github/workflows/install-snowcli-with-pip-first-then-with-pipx-test.yml @@ -26,7 +26,7 @@ jobs: python-version: '3.10' - name: Install Snowflake CLI with pip - run: python -m pip install snowflake-cli-labs + run: python -m pip install snowflake-cli - name: Install Snowflake CLI with pipx uses: ./ diff --git a/.github/workflows/install-snowcli-with-pipx-first-then-with-pip-test.yml b/.github/workflows/install-snowcli-with-pipx-first-then-with-pip-test.yml index cc07787..15968d0 100644 --- a/.github/workflows/install-snowcli-with-pipx-first-then-with-pip-test.yml +++ b/.github/workflows/install-snowcli-with-pipx-first-then-with-pip-test.yml @@ -32,7 +32,7 @@ jobs: default-config-file-path: '.github/workflows/tests-files/config.toml' - name: Install Snowflake CLI with pip - run: python -m pip install snowflake-cli-labs + run: python -m pip install snowflake-cli - name: Test snow installation shell: bash diff --git a/action.yml b/action.yml index 7fae161..a88c8bf 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ # action.yml name: 'Install Snowflake CLI' -description: 'Download and install snowflake-cli-labs through pipx' +description: 'Download and install snowflake-cli through pipx' branding: icon: 'terminal' color: 'blue' @@ -18,7 +18,7 @@ inputs: runs: using: 'composite' steps: - - name: Download snowflake-cli-labs ${{ inputs.cli_version }} + - name: Download snowflake-cli ${{ inputs.cli_version }} shell: bash run: bash $GITHUB_ACTION_PATH/scripts/install-snowcli.sh env: