From ca5060526ed3ece53b9fd904674299256ffbcc90 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Thu, 23 Nov 2023 19:55:52 +0100 Subject: [PATCH] Added action --- README.md | 4 ++-- action.yml | 4 ++-- docs/github-action.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bc0cb28..3bb6087 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 | diff --git a/action.yml b/action.yml index d580f6e..267a17d 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/docs/github-action.md b/docs/github-action.md index 0daa803..687fad4 100644 --- a/docs/github-action.md +++ b/docs/github-action.md @@ -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 |