You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Read yaml
1.5
This action reads yaml data from a file and outputs the result.
-
file
Required yaml file to read from. -
key-path
Required Path of keys to the value as a JSON list.
data
Data read from YAML file.
name: Read YAML Data
uses: KJ002/read-yaml@v1.5
id: yaml-data
with:
file: './action.yaml'
key-path: '["runs", "using"]' # Access the runs key then the using key and retuns the value.