Skip to content

updated setup-stackql version #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![StackQL Exec](https://github.com/stackql/stackql-exec/actions/workflows/stackql-exec-test.yml/badge.svg)](https://github.com/stackql/stackql-exec/actions/workflows/stackql-exec-test.yml)

# stackql-exec
Github Action as a wrapper for executing a single command in stackql, maps all stackql exec args to actions args

Expand All @@ -19,13 +21,13 @@ Authentication to StackQL providers is done via environment variables source fro
- **`on_failure`** - (optional) behavior on a failure in query, supported values are `exit` (default) and `continue`

## Outputs
This action uses [setup-stackql](https://github.com/marketplace/actions/stackql-studio-setup-stackql), with use_wrapper set
to `true`, `stdout` and `stderr` are set to `exec-result` and `exec-error`

- **`stackql-query-results`** - results from a stackql query (in the format specified)
- **`stackql-command-output`** - text output from a stackql command (a query that does not return data)
- **`stackql-query-error`** - error from a stackql query

> This action uses [setup-stackql](https://github.com/marketplace/actions/stackql-studios-setup-stackql)

## Examples

### Inline `stackql` query example
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ runs:
fi

- name: Setup StackQL
uses: stackql/setup-stackql@v2.2.0
uses: stackql/setup-stackql@v2.2.1
if: ${{steps.check-stackql.outputs.stackql_installed == 'false'}}
with:
use_wrapper: true
Expand Down