Skip to content

Commit

Permalink
Added action
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Nov 23, 2023
1 parent 1a1feea commit ca50605
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ It's 100% Open Source and licensed under the [MIT](LICENSE).
jobs:
example:
outputs:
result: "${{ steps.current.outputs.output }}"
result: "${{ steps.current.outputs.output }}"
steps:
- uses: cloudposse/github-action-jq@main
id: current
Expand All @@ -97,7 +97,7 @@ It's 100% Open Source and licensed under the [MIT](LICENSE).
| Name | Description | Default | Required |
|------|-------------|---------|----------|
| compact | Compact instead of pretty-printed output | false | false |
| input | JSON formated string | N/A | true |
| input | JSON formatted string | N/A | true |
| raw-output | Output raw strings, not JSON texts | false | false |
| remove-trailing-newline | Remove trailing newline | true | false |
| script | JQ query string | N/A | true |
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'JQ'
name: 'JQ eval'
description: 'Run JQ on a JSON value'
inputs:
input:
description: JSON formated string
description: JSON formatted string
required: true
script:
description: JQ query string
Expand Down
2 changes: 1 addition & 1 deletion docs/github-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Name | Description | Default | Required |
|------|-------------|---------|----------|
| compact | Compact instead of pretty-printed output | false | false |
| input | JSON formated string | N/A | true |
| input | JSON formatted string | N/A | true |
| raw-output | Output raw strings, not JSON texts | false | false |
| remove-trailing-newline | Remove trailing newline | true | false |
| script | JQ query string | N/A | true |
Expand Down

0 comments on commit ca50605

Please sign in to comment.