mirror of https://github.com/mikefarah/yq.git
test action using built docker image
This commit is contained in:
parent
8ed817916f
commit
a264833c06
|
@ -13,13 +13,13 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- name: Get test
|
||||
id: get_value
|
||||
uses: mikefarah/yq@master
|
||||
uses: mikefarah/yq@action-use-published-docker
|
||||
with:
|
||||
cmd: yq '.test' examples/multiline-text.yaml
|
||||
- name: Multiline test
|
||||
run: echo "### It was [${{ steps.get_value.outputs.result }}]" >> $GITHUB_STEP_SUMMARY
|
||||
- name: Write inplace test
|
||||
id: lookupSdkVersion
|
||||
uses: mikefarah/yq@master
|
||||
uses: mikefarah/yq@action-use-published-docker
|
||||
with:
|
||||
cmd: yq -i '.b.c = 5' examples/sample.yaml
|
Loading…
Reference in New Issue