Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

setup-stackql

Actions
Sets up the StackQL CLI in your GitHub Actions workflow
v1.1.0-beta
Pre-release
Verified creator
Star (6)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Setup StackQL

setup-stackql

The stackql/setup-stackql action is a JavaScript action that sets up StackQL CLI in your GitHub Actions workflow by:

  • Downloading a latest Stackql CLI and adding it to the PATH.
  • Setup AUTH env var in the Github Action

This action can be run on ubuntu-latest, windows-latest, and macos-latest GitHub Actions runners, and will install and expose the latest version of the stackql CLI on the runner environment.

Auth

Learn more about authentication setup when running stackql

Basic Example

  1. Set Auth variable, for example:
{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }
  1. create the github token as a secret
  2. In the execution step, pass the secret as environment variable with name "STACKQL_GITHUB_CREDS"

Check the "Use GitHub Provider" step in .github/workflows/setup-stackql.yml for the working example

json File Auth example

  1. Set Auth variable, for example:
{ "google": { "type": "service_account",  "credentialsfilepath": "sa-key.json" }}
  1. encode the key json file into base64 string
  2. in execution step, run sudo echo ${{ secrets.<name of the secret> }} | base64 -d > sa-key.json

Check the "Use Google Provider" step in .github/workflows/setup-stackql.yml for the working example

setup-stackql is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sets up the StackQL CLI in your GitHub Actions workflow
v1.1.0-beta
Pre-release

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

setup-stackql is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.