Skip to content

Commit f9c430b

Browse files
authored
Merge pull request #49 from davesnx/try-prerelease
Slices are supported now (reflect it into README)
2 parents 9c9cded + 0f8ed31 commit f9c430b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ jobs:
169169

170170
- name: Print short SHA
171171
id: sha
172-
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
172+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
173173

174174
- name: Publish Prerelease
175-
if: ${{ github.event_name == 'pull_request' }}
175+
if: ${{ github.event_name != 'push' && github.ref != 'refs/heads/main' }}
176176
run: |
177177
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
178178
npm config set scope "@davesnx"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The report shows that **query-json** is between 2x and 5x faster than **jq** in
115115
- Generic Object Index: `.[<string>]`
116116
- Array Index: `.[2]`
117117
- Pipe: `|`
118-
- Array/String Slice: `.[10:15]` ⚠️
118+
- Array/String Slice: `.[10:15]`
119119
- Array/Object Value Iterator: `.[]` ⚠️
120120
- Comma: `,`
121121
- Parenthesis: `()` ✅️

0 commit comments

Comments
 (0)