We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca2045 commit 780ae29Copy full SHA for 780ae29
.github/workflows/test-yq.yml
@@ -12,11 +12,14 @@ jobs:
12
steps:
13
- uses: actions/checkout@v3
14
- name: Get test
15
+ id: get_value
16
uses: mikefarah/yq@master
17
with:
- cmd: yq eval '.a' examples/sample.yaml
18
+ cmd: yq '.b.e[0].name' examples/sample.yaml
19
+ - name: Who stole the cookie
20
+ run: echo "### It was [${{ steps.get_value.outputs.result }}]" >> $GITHUB_STEP_SUMMARY
21
- name: Write inplace test
22
id: lookupSdkVersion
23
24
- cmd: yq eval -i '.b.c = 5' examples/sample.yaml
25
+ cmd: yq -i '.b.c = 5' examples/sample.yaml
0 commit comments