test action using built docker image

This commit is contained in:
Mike Farah 2022-10-19 11:05:09 +11:00
parent 8ed817916f
commit a264833c06
1 changed files with 2 additions and 2 deletions

View File

@ -13,13 +13,13 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Get test - name: Get test
id: get_value id: get_value
uses: mikefarah/yq@master uses: mikefarah/yq@action-use-published-docker
with: with:
cmd: yq '.test' examples/multiline-text.yaml cmd: yq '.test' examples/multiline-text.yaml
- name: Multiline test - name: Multiline test
run: echo "### It was [${{ steps.get_value.outputs.result }}]" >> $GITHUB_STEP_SUMMARY run: echo "### It was [${{ steps.get_value.outputs.result }}]" >> $GITHUB_STEP_SUMMARY
- name: Write inplace test - name: Write inplace test
id: lookupSdkVersion id: lookupSdkVersion
uses: mikefarah/yq@master uses: mikefarah/yq@action-use-published-docker
with: with:
cmd: yq -i '.b.c = 5' examples/sample.yaml cmd: yq -i '.b.c = 5' examples/sample.yaml