allows you to start with specified credentials and switch to non-spec… #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy | |
on: [push] | |
jobs: | |
version: | |
name: "Check Snowflake CLI version" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: Snowflake-Labs/[email protected] | |
with: | |
cli-version: "latest" | |
- name: Test project | |
env: | |
SNOWFLAKE_CONNECTIONS_BASE64: ${{ secrets.SNOWFLAKE_CONNECTIONS_BASE64 }} | |
run: | | |
export SNOWFLAKE_CONNECTIONS=$(printf '%s' "$SNOWFLAKE_CONNECTIONS_BASE64" | base64 -d | tr '\r' '\n') | |
snow --version | |
snow connection test | |
snow sql -f /resources/dwh-benchmark/clickbench.sql |