A GitHub Action to write config to file
- uses: antfu/action-write-config
with:
# the file path to be saved, yaml is also supported
path: 'config.json'
# can be an object
data:
foo: 'bar'
hello: 'world'
config.json
will be:
{
"foo": "bar",
"hello": "world"
}