mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +00:00
19 lines
424 B
YAML
19 lines
424 B
YAML
name: Test Yq Action
|
|
on: [push]
|
|
jobs:
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Get test
|
|
uses: mikefarah/yq@master
|
|
with:
|
|
cmd: yq eval '.a' examples/sample.yaml
|
|
- name: Write inplace test
|
|
id: lookupSdkVersion
|
|
uses: mikefarah/yq@master
|
|
with:
|
|
cmd: yq eval -i '.b.c = 5' examples/sample.yaml |