Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
robzr committed Nov 18, 2024
1 parent f1cb01d commit cce530a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use the short argument syntax.
```
- uses: direct-actions/jq@v1
with:
arguments -r
arguments: -r
filter: '"The user's login is \(.login)"'
input: ${{ github.event.pull_request.head.user }}
```
Expand All @@ -53,21 +53,21 @@ Commands can be used for input.
```
- uses: direct-actions/jq@v1
with:
input-command: /tmp/dump_json.sh
filter: |
map(
select(.included != 'false')
) |
length
input-command: /tmp/dump_json.sh
```
As can files.
```
- uses: direct-actions/jq@v1
with:
input-files: /tmp/one.json /tmp/two.json
filter: |
map(
select(.included != 'false')
) |
length
input-files: /tmp/one.json /tmp/two.json
```

0 comments on commit cce530a

Please sign in to comment.