Skip to content

Commit

Permalink
Merge pull request #19 from stackql/feature/updates
Browse files Browse the repository at this point in the history
updated setup-stackql version
  • Loading branch information
jeffreyaven authored Apr 28, 2024
2 parents a0ee34a + d3b031f commit b6b5466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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/[email protected].0
uses: stackql/[email protected].1
if: ${{steps.check-stackql.outputs.stackql_installed == 'false'}}
with:
use_wrapper: true
Expand Down

0 comments on commit b6b5466

Please sign in to comment.